diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-27 13:32:58 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-27 13:32:58 -0800 |
commit | c351fb6a11adbc20446577685a849eab82a2edbf (patch) | |
tree | 7a2f23083c5f5ee601dc6a4161ebfd887008304a | |
parent | dc84a84b531b3d2b79709dbe89ee3e1d34b19d6d (diff) | |
parent | 9213a44a94985fadfb9157f9eee847fe1175bcde (diff) |
Merge pull request #189 from ehsan/webbrowser_mac
Pass the absolute file name to the web browser
-rwxr-xr-x | tests/runner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py index 4e260bf5..de5682c7 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -5552,7 +5552,7 @@ f.close() # Finally, do some web browser tests def run_browser(html_file, message): - webbrowser.open_new(html_file) + webbrowser.open_new(os.path.abspath(html_file)) print 'A web browser window should have opened a page containing the results of a part of this test.' print 'You need to manually look at the page to see that it works ok: ' + message print '(sleeping for a bit to keep the directory alive for the web browser..)' |