Test manifest cleanup
Categories
(Testing :: General, enhancement)
Tracking
(firefox147 fixed)
| Tracking | Status | |
|---|---|---|
| firefox147 | --- | fixed |
People
(Reporter: tmarble, Assigned: tmarble)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Fall cleaning for test manifests to harmonize on currently used platforms and conventions
Remove linux os_version=="18.04" from *.toml
https://searchfox.org/firefox-main/search?q=os_version+%3D%3D+%2718.04%27&path=*.toml&case=false®exp=false
If os == "linux" and no version, add os_version == '24.04' && display == 'x11', and verify on try, specifically linux2204 wayland
https://searchfox.org/firefox-main/search?q=%5E.*os+%3D%3D+%27linux%27%5B%5Ev%5D*%24&path=*.toml&case=false®exp=true
Change processor -> arch in most/all places
https://searchfox.org/firefox-main/search?q=processor&path=*.toml&case=false®exp=true
Remove bits
bits == '64' => x86_64 or aarch64
bits == '32' => x86
https://searchfox.org/firefox-main/search?q=bits&path=*.toml&case=false®exp=true
Updated•10 months ago
|
Comment 1•10 months ago
|
||
also macosx osversion == 11.20, we don't run there anymore, that was replaced with 15.30.
| Assignee | ||
Comment 2•9 months ago
|
||
For TOML manifests:
- Change processor -> arch
- Use arch instead of bits
bits == '64' => aarch64 (default on mac) or x86_64
bits == '32' => x86 - Replace android_version with corresponding os_version
- Remove conditions with linux os_version=="18.04"
(unless they contain verify or verify-standalone) - Remove conditions with mac os_version=='11.20',
(unless they contain verify or verify-standalone) - Linux conditions should have os_version, arch and display
Resolves 2000285
Signed-off-by: Tom Marble <tmarble@info9.net>
Comment 5•9 months ago
|
||
| bugherder | ||
Comment 6•9 months ago
|
||
Was it intended that this inverted the skip condition on t/c/glean/xpcshell's test_MillionQ.js?
It went from
["test_MillionQ.js"]
skip-if = [
"os == 'android'", # Android inits its own FOG, so the test won't work.
"appname == 'thunderbird'" # interesting_serverknobs.json isn't applied before init.
]
to
["test_MillionQ.js"]
run-if = [
"appname != 'thunderbird'", # interesting_serverknobs.json isn't applied before init.
]
skip-if = [
"os != 'android'", # Android inits its own FOG, so the test won't work.
]
...Also, is "!appname == 'thunderbird'" a valid form? That got put in there too.
| Assignee | ||
Comment 7•9 months ago
|
||
(In reply to Chris H-C :chutten from comment #6)
Was it intended that this inverted the skip condition on
t/c/glean/xpcshell'stest_MillionQ.js?
Yes. The goal is to use run-if to specify which are the intended platforms for a test to run
(and the logic to run is inverted from the logic to skip.
...Also, is
"!appname == 'thunderbird'"a valid form? That got put in there too.
Oops! No that's a typo. I'll fix it in a patch I'm working on.
Comment 8•9 months ago
|
||
Oh, I understand that much. But it went from skip-if to... still skip-if, but inverted the condition. That seems like a bug?
| Assignee | ||
Comment 9•9 months ago
|
||
So many pronouns! I think you mean I inverted os == android in the skip-if ???
That was a bug! I'll fix that too!
Description
•