@@ -0,0 +1,528 @@
+#!/usr/bin/python%0A%0A# This Source Code Form is subject to the terms of the Mozilla Public%0A# License, v. 2.0. If a copy of the MPL was not distributed with this%0A# file, You can obtain one at http://mozilla.org/MPL/2.0/.%0A%0Aimport subprocess%0A%0Awith open('reftest.log', %22w%22) as out:%0A    try:%0A        subprocess.check_call(%5B'./headless.py', 'reftest'%5D, stdout=out)%0A        print(%22All tests passed.%22)%0A    except subprocess.CalledProcessError as ex:%0A        subprocess.check_call(%5B'firefox', 'reftest-analyzer.xhtml#logurl=reftest.log'%5D)%0A

Add a script to run reftests and spawn reftest analyzer.