devtools/qunit.py
branchstable
changeset 8261 d4d9c88d4a5f
parent 8257 d54fc706d623
child 8692 40d4ba3589be
--- a/devtools/qunit.py	Thu Feb 23 11:57:35 2012 +0100
+++ b/devtools/qunit.py	Thu Feb 23 19:05:36 2012 +0100
@@ -72,7 +72,7 @@
         stderr = TemporaryFile()
         self.firefox_cmd = ['firefox', '-no-remote']
         if os.name == 'posix':
-            self.firefox_cmd = ['xvfb-run', '-a'] + self.firefox_cmd
+            self.firefox_cmd = [osp.join(osp.dirname(__file__), 'data', 'xvfb-run.sh'), '-a'] + self.firefox_cmd
         try:
             home = osp.expanduser('~')
             user = getlogin()