mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 748109 - jstests.py cannot find any test cases. r=terrence
When I do: cd js/src/tests python jstests.py $js_bin js1_8_5/extensions it is unable to find any tests to run because it's looking relative to the jstests.py script, but at least in this case that is a relative path (plain "jstests.py") so os.path.dirname(__file__) is the empty string and that doesn't seem to work very well. --HG-- extra : rebase_source : 1cdc461680ceadba26fc512a50d9c7247a187744
This commit is contained in:
parent
acc26b3202
commit
e304e9ec70
@ -147,7 +147,7 @@ if __name__ == '__main__':
|
||||
xul_info = manifest.XULInfo(xul_abi, xul_os, xul_debug)
|
||||
xul_tester = manifest.XULInfoTester(xul_info, JS)
|
||||
|
||||
test_dir = os.path.dirname(__file__)
|
||||
test_dir = os.path.dirname(os.path.realpath(__file__))
|
||||
test_list = manifest.load(test_dir, xul_tester)
|
||||
skipped_list = []
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user