Bug 1975349 - Use "sync" variable to disable tests on builds without Sync. a=RyanVM DONTBUILD

Sync is going to be disabled on Thunderbird again for a time, so these tests would need disabling.
Instead, I'm changing the condition to use the sync variable, so they are automatically enabled on
builds with Sync and disabled on builds without.

Original Revision: https://phabricator.services.mozilla.com/D255900

Differential Revision: https://phabricator.services.mozilla.com/D260073
This commit is contained in:
Geoff Lankow
2025-08-06 00:57:34 +00:00
committed by rvandermeulen@mozilla.com
parent 488ab8310d
commit e18a59563e
2 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
[DEFAULT]
head = "head.js ../../../common/tests/unit/head_helpers.js ../../../common/tests/unit/head_http.js"
firefox-appdir = "browser"
skip-if = ["appname == 'thunderbird' && !nightly_build"]
skip-if = ["!sync"]
support-files = [
"!/services/common/tests/unit/head_helpers.js",
"!/services/common/tests/unit/head_http.js",

View File

@@ -48,7 +48,10 @@ run-if = ["os == 'android'"] # Android has no remote extensions, Bug 1535365
["test_OriginControls.js"]
["test_StorageSyncService.js"]
skip-if = ["os == 'android' && processor == 'x86_64'"]
skip-if = [
"!sync",
"os == 'android' && processor == 'x86_64'",
]
["test_WebExtensionPolicy.js"]