mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Make $objdir/_tests/testing/mochitest/runtests.py runnable from any directory, not just $objdir/_tests/testing/mochitest/. r=sayrer, NPOTB and all that anyway
This commit is contained in:
parent
72f05c6698
commit
b9e7808d5f
@ -75,6 +75,9 @@ BROWSER_CHROME_URL = "chrome://browser/content/browser.xul"
|
||||
# (particularly after a build) takes forever.
|
||||
SERVER_STARTUP_TIMEOUT = 45
|
||||
|
||||
SCRIPT_DIRECTORY = os.path.abspath(os.path.realpath(os.path.dirname(sys.argv[0])))
|
||||
os.chdir(SCRIPT_DIRECTORY)
|
||||
|
||||
PROFILE_DIRECTORY = os.path.abspath("./mochitesttestingprofile")
|
||||
|
||||
LEAK_REPORT_FILE = PROFILE_DIRECTORY + "/" + "leaks-report.log"
|
||||
|
Loading…
Reference in New Issue
Block a user