Closed Bug 996259 Opened 7 years ago Closed 5 years ago

Can't run chrome and content webapprt tests specifying a single test

Categories

(Testing :: Mochitest, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: marco, Unassigned)

Details

(Keywords: regression)

This is the error I see running a single webapprt chrome test (./mach webapprt-test-chrome webapprt/test/chrome/browser_geolocation-prompt-no-perm.js):
>  File "testing/mochitest/mach_commands.py", line 624, in run_mochitest_webapprt_chrome
>    return self.run_mochitest(test_paths, 'webapprt-chrome', **kwargs)
>  File "testing/mochitest/mach_commands.py", line 644, in run_mochitest
>    test_paths=test_paths, suite=flavor, **kwargs)
>  File "testing/mochitest/mach_commands.py", line 374, in run_desktop_test
>    result = runner.runTests(options)
>  File "obj-x86_64-unknown-linux-gnu/_tests/testing/mochitest/runtests.py", line 1115, in runTests
>    testURL = self.buildTestPath(options)
>  File "obj-x86_64-unknown-linux-gnu/_tests/testing/mochitest/runtests.py", line 475, in buildTestPath
>    assert pathAbs.startswith(testRootAbs)

This is the error I see running a single webapprt content test (./mach webapprt-test-content webapprt/test/content/webapprt_sample.html):
> No tests could be found in the path specified. Please specify a path that is a test file or is a directory containing tests.

This is a recent regression.
Keywords: regression
The web runtime has been removed in bug 1238079.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.