Closed Bug 2084576 Opened 1 month ago Closed 28 days ago

Use run-if instead of skip-if for tests that need test interfaces only built in debug builds

Categories

(Core :: DOM: Bindings (WebIDL), task)

task

Tracking

()

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 external file)

The WebIDL test interfaces (TestFunctions, TestInterfaceJS, TestInterfaceObservableArray and the others listed in dom/webidl/moz.build) are only built when MOZ_DEBUG and ENABLE_TESTS are set. Tests using them are skipped on non-debug builds with skip-if conditions listing every non-debug build type (asan, ccov, opt, tsan), which reads like a list of known failures rather than a build requirement, and would need updating whenever a new non-debug build type appears.

Replace these with run-if = ["debug"] in dom/bindings/test, dom/promise/tests, js/xpconnect/tests/mochitest and dom/base/test. A try push with the skip-if conditions removed confirmed these tests fail on every non-debug build.

Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/19662d5b96a0 https://hg.mozilla.org/integration/autoland/rev/c82b1044b18e Use run-if = debug for tests that need test interfaces only built in debug builds. r=edgar
Status: ASSIGNED → RESOLVED
Closed: 28 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
QA Whiteboard: [qa-triage-done-c162/b161]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: