Closed Bug 799238 Opened 13 years ago Closed 13 years ago

mach does not run xpcshell test with no clear error message

Categories

(Firefox Build System :: Mach Core, enhancement)

x86
Windows Vista
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla, Unassigned)

Details

I tried to use mach to run an xpcshell test. It didn't work, and the error message does not say anything. Here is the output: $ ./mach xpcshell-test toolkit/mozapps/extensions/test/xpcshell/test_dictionary .js Traceback (most recent call last): File "./mach", line 47, in <module> sys.exit(mach.run(sys.argv[1:])) File "c:\Users\Jesper\Desktop\web\mozilla\build\mozilla-central\src\python/mac h\mach\main.py", line 147, in run return self._run(argv) File "c:\Users\Jesper\Desktop\web\mozilla\build\mozilla-central\src\python/mac h\mach\main.py", line 206, in _run result = fn(**stripped) File "c:\Users\Jesper\Desktop\web\mozilla\build\mozilla-central\src\python/moz build\mach\commands\testing.py", line 89, in run_xpcshell_test xpcshell.run_test(**params) File "c:\Users\Jesper\Desktop\web\mozilla\build\mozilla-central\src\python/moz build\mozbuild\testing\xpcshell.py", line 49, in run_test self._run_xpcshell_harness(**args) File "c:\Users\Jesper\Desktop\web\mozilla\build\mozilla-central\src\python/moz build\mozbuild\testing\xpcshell.py", line 89, in _run_xpcshell_harness xpcshell.runTests(**args) File "c:\Users\Jesper\Desktop\web\mozilla\build\mozilla-central\src\testing/xp cshell\runxpcshelltests.py", line 736, in runTests test["here"]) Exception: testsRootDir is not a parent path of c:\Users\Jesper\Desktop\web\mozi lla\build\mozilla-central\src\obj-i686-pc-mingw32\_tests\xpcshell\toolkit\mozapp s\extensions\test\xpcshell Here is the make equivalent that works: $ pymake SOLO_FILE="test_dictionary.js" -C obj-i686-pc-mingw32/toolkit/mozapps/extensions/test/ check-one
This is really similar to bug 799041 - possibly even a dupe.
Works for me now.
it also works for me now.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.