Closed
Bug 2028991
Opened 1 month ago
Closed 23 days ago
`./mach test mobile/android/fenix` does not work on Windows
Categories
(Testing :: General, defect)
Tracking
(firefox151 fixed)
RESOLVED
FIXED
151 Branch
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: ahochheiden, Assigned: ahochheiden)
References
Details
Attachments
(1 file)
If I run this command on Windows, I get:
ahochheiden@Alex-Mozilla-P620 /d/mozilla-source/firefox
$ ./mach test mobile/android/fenix
Test configuration changed. Regenerating backend.
UNKNOWN TEST: mobile/android/fenix
I was unable to find tests from the given argument(s).
You should specify a test directory, filename, test suite name, or
abbreviation.
It's possible my little brain doesn't know about the type of test you are
trying to execute. If you suspect this, please request support by filing
a bug at
https://bugzilla.mozilla.org/enter_bug.cgi?product=Testing&component=General.
If I run this command on macOS I get:
ahochheiden@FCVYYF256K firefox % ./mach test mobile/android/fenix
Test configuration changed. Regenerating backend.
Streaming resource usage profile to: /Users/ahochheiden/firefox/objdir-frontend/.mozbuild/logs/test/profile_log_20260402_124209.json
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=utf-8
[gradle:error]: > Execution failed for task ':app:longfox:testDebugUnitTest'.
[gradle:error]: > > Execution failed for task ':app:longfox:testDebugUnitTest'.
[gradle:error]: > > No tests found for given includes: [org.mozilla.fenix.search.
The second error is a different problem, but it at least makes it to trying to run tests in Gradle on macOS, whereas it doesn't even start on Windows.
This is most likely caused by paths not being normalized.
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed by ahochheiden@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/873580d7029a
https://hg.mozilla.org/integration/autoland/rev/4ec9fb4b3493
Normalize `file_relpath` in test manifest loaders to fix test resolution on Windows r=ahal
Comment 3•23 days ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 23 days ago
status-firefox151:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•