[DEFAULT]
head = head.js
firefox-appdir = browser
# The *.xpi files are only needed for test_TelemetryEnvironment.js, but
# xpcshell fails to install tests if we move them under the test entry.
support-files =
  data/search-extensions/engines.json
  data/search-extensions/telemetrySearchIdentifier/manifest.json
  engine.xml
  system.xpi
  restartless.xpi
  testUnicodePDB32.dll
  testNoPDB32.dll
  testUnicodePDB64.dll
  testNoPDB64.dll
  testUnicodePDBAArch64.dll
  testNoPDBAArch64.dll
  !/toolkit/mozapps/extensions/test/xpcshell/head_addons.js
generated-files =
  system.xpi
  restartless.xpi

[test_UserInteraction.js]
[test_UserInteraction_annotations.js]
# BHR is disabled on tsan, asan, android and outside of Nightly.
skip-if =
  debug
  asan
  tsan
  os == "android"
  release_or_beta
  apple_catalina # Bug 1713329
  apple_silicon  # bug 1707747
  os == "win" && bits == 32 && !debug  # Bug 1781452
  os == "linux" && !debug  # Bug 1781452
run-sequentially = very high failure rate in parallel
[test_client_id.js]
[test_MigratePendingPings.js]
[test_TelemetryHistograms.js]
[test_SubsessionChaining.js]
tags = addons
[test_SyncPingIntegration.js]
skip-if = os == "android"
[test_TelemetryEnvironment.js]
skip-if =
  os == "android"
  os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
tags = addons
run-sequentially = very high failure rate in parallel
[test_TelemetryEnvironment_search.js]
skip-if =
  os == "android"
  os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
[test_PingAPI.js]
[test_TelemetryFlagClear.js]
[test_TelemetryLateWrites.js]
[test_TelemetryLockCount.js]
[test_TelemetryController.js]
[test_TelemetryClientID_reset.js]
skip-if = os == "android" # Disabled as Android/GeckoView doesn't run TelemetryController
[test_HealthPing.js]
skip-if =
  (verify && (os == 'win'))
  (os == 'android' && processor == 'x86_64')
tags = addons
[test_TelemetryController_idle.js]
[test_TelemetryControllerShutdown.js]
skip-if =
  (os == 'android' && processor == 'x86_64')  # Bug 1784622
tags = addons
[test_TelemetryStopwatch.js]
[test_TelemetryControllerBuildID.js]
[test_TelemetrySendOldPings.js]
skip-if = os == "android" # Disabled due to intermittent orange on Android
tags = addons
[test_TelemetrySession.js]
tags = addons
skip-if =
  os == "linux" && verify && debug
[test_TelemetrySession_abortedSessionQueued.js]
skip-if = os == "android"
[test_TelemetrySession_activeTicks.js]
[test_TelemetrySend.js]
skip-if =
  os == "linux" && ccov # Bug 1701874
[test_ChildHistograms.js]
skip-if = os == "android" # Disabled due to crashes (see bug 1331366)
tags = addons
[test_ChildScalars.js]
skip-if = os == "android" # Disabled due to crashes (see bug 1331366)
[test_SocketScalars.js]
run-if = socketprocess_networking # Needs socket process (bug 1716307)
[test_TelemetryReportingPolicy.js]
tags = addons
[test_TelemetryScalars.js]
[test_TelemetryScalars_buildFaster.js]
skip-if =
  os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
[test_TelemetryScalars_impressionId.js]
[test_TelemetryScalars_multistore.js]
[test_TelemetryTimestamps.js]
[test_TelemetryChildEvents_buildFaster.js]
skip-if = os == "android" # Disabled due to crashes (see bug 1331366)
[test_TelemetryEvents.js]
[test_TelemetryEvents_buildFaster.js]
skip-if =
  os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
[test_ChildEvents.js]
skip-if = os == "android" # Disabled due to crashes (see bug 1331366)
[test_ModulesPing.js]
skip-if =
  apple_silicon  # bug 1707747
  apple_catalina # Bug 1713329
[test_PingSender.js]
skip-if =
  os == "android"
[test_TelemetryAndroidEnvironment.js]
[test_TelemetryUtils.js]
[test_ThirdPartyModulesPing.js]
run-if = (os == 'win' && !msix) # Disabled for MSIX due to https://bugzilla.mozilla.org/show_bug.cgi?id=1807929
[test_EventPing.js]
tags = coverage
[test_CoveragePing.js]
[test_bug1555798.js]
[test_UninstallPing.js]
support-files = file_UninstallPing.worker.js
run-if = os == "win"
[test_RDDScalars.js]
skip-if =
  os == "android" # RDD is not a thing on Android?
[test_UtilityScalars.js]
run-if = os == 'win'
[test_failover_retry.js]
skip-if = os == "android" # Android doesn't support telemetry though some tests manage to pass with xpcshell
