Auto-tools/Projects/Stockwell/disable-recommended: Difference between revisions

No edit summary
Line 32: Line 32:


=== Updating a manifest to disable a test ===
=== Updating a manifest to disable a test ===
There are 3 different types of manifest files, each with a different format:
* ini manifests like mochitest.ini, chrome.ini, browser.ini, xpcshell.ini
* list manifests like reftest.list, crashtest.list
* web-platform manifests
==== ini manifests ====
In this type of manifest, add a "skip-if" statement under the test name -- on the next line.
[some_test.html]
skip-if = ...
Some examples:
skip-if = true                            # skip this test everywhere / always (test never runs)
skip-if = os == "android"                  # skip on Android only (continues to run on Linux, Windows, etc.)
                                            # other os strings: "win", "linux", "mac"
skip-if = debug                            # skip on all debug builds
skip-if = !debug                          # skip on all non-debug builds (opt, pgo)
skip-if = os == "android" || os == "linux" # skip on Android and skip on Linux
skip-if = os == "android" && debug        # skip on Android/Debug only (continues to run on Android/Opt)


=== Requesting review ===
=== Requesting review ===
Confirmed users
1,759

edits