Files
sousa-gecko/testing/xpcshell/test/unit/xpcshell.toml
T
Tom Marble 5ce09d7446 Bug 1995583 - test manifest cleanup for idiomatic usage r=jmaher,necko-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,media-playback-reviewers,sessionstore-reviewers,tabbrowser-reviewers,translations-reviewers,omc-reviewers,browser-installer-reviewers,twisniewski,masayuki,dom-core,smaug,nalexander,emcminn,sthompson,alwu,ai-ondevice-reviewers,valentin
For TOML manifests:

1. Change processor -> arch
2. Use arch instead of bits bits == '64' =>
   aarch64 (default on mac 15.30) or x86_64 bits == '32' => x86
3. Replace android_version with corresponding os_version
4. Remove conditions with linux os_version=="18.04"
   (unless they contain verify or verify-standalone)
5. Remove conditions with mac os_version=='11.20',
   (unless they contain verify or verify-standalone)
6. Remove conditions with win os_version=='11.2009' or win11_2009,
   (unless they contain verify or verify-standalone)
7. Linux conditions should have os_version, arch and display
   (simple "os == 'linux'" will get expanded to these two)
   "os == 'linux' && os_version == '22.04' && arch == 'x86_64' && display == 'wayland'"
   "os == 'linux' && os_version == '24.04' && arch == 'x86_64' && display == 'x11'"
8. Mac conditions should have os_version and arch
   (simple "os == 'mac'" will get expanded to these three)
   "os == 'mac' && os_version == '10.15' && arch == 'x86_64'",
   "os == 'mac' && os_version == '14.70' && arch == 'x86_64'",
   "os == 'mac' && os_version == '15.30' && arch == 'aarch64'",
9. Replace apple_catalina with
   os == 'mac' && os_version == '10.15' && arch == 'x86_64'
10. Replace apple_silicon with
   os == 'mac' && os_version = '15.30' && arch == 'aarch64'
11. Replace win10_2009 with
   os == 'win' && os_version = '10.2009' && arch == 'x86_64'
12. Replace "!debug" with three conditions "asan", "opt", or "tsan"
13. Replace literal boolean comparison with variables
    (e.g. "debug == false" => "!debug)

Resolves 2000285

Signed-off-by: Tom Marble <tmarble@info9.net>

Differential Revision: https://phabricator.services.mozilla.com/D272815
2025-11-22 00:30:39 +00:00

82 lines
1.2 KiB
TOML

[DEFAULT]
head = ""
support-files = [
"subdir/file.txt",
"file.txt",
"import_module.sys.mjs",
"load_subscript.js",
"location_load.js",
"check_profile.js",
"prefs_test_common.js",
]
# NOTE: Do NOT set prefs here. If you do, move test_prefs_no_defaults.js and
# test_prefs_no_defaults_with_file.js to a new file without a pref definitions.
["test_add_setup.js"]
["test_check_nsIException.js"]
["test_check_nsIException_failing.js"]
fail-if = [
"true",
]
["test_do_check_matches.js"]
["test_do_check_matches_failing.js"]
fail-if = [
"true",
]
["test_do_check_null.js"]
["test_do_check_null_failing.js"]
fail-if = [
"true",
]
["test_do_get_tempdir.js"]
["test_execute_soon.js"]
["test_fail.js"]
fail-if = [
"true",
]
["test_get_file.js"]
["test_get_idle.js"]
["test_import_module.js"]
["test_load.js"]
["test_load_httpd_js.js"]
["test_location.js"]
["test_multiple_setups.js"]
["test_multiple_tasks.js"]
["test_prefs_no_defaults.js"]
["test_prefs_no_defaults_with_file.js"]
prefs = ["dummy.pref.from.test.file=1"]
["test_profile.js"]
["test_profile_afterChange.js"]
["test_sample.js"]
["test_skip.js"]
run-if = [
"false",
]
["test_tasks_skip.js"]
["test_tasks_skipall.js"]