Closed Bug 1602562 Opened 6 years ago Closed 6 years ago

Check for JS_CODE_COVERAGE_OUTPUT_DIR when black-listing jit-tests for coverage builds.

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
mozilla73
Tracking Status
firefox73 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

Details

Attachments

(1 file)

We currently check at [1] for the GCOV_PREFIX environment variable in order to set the expected failures for jit-tests. While automation does set that prefix, a more appropriate variable to check is JS_CODE_COVERAGE_OUTPUT_DIR which is what triggers jsshell to test coverage and thus what causes the test failures.

[1] https://searchfox.org/mozilla-central/rev/23d4bffcad365e68d2d45776017056b76ca9a968/js/src/jit-test/jit_test.py#262

These tests are expected failures when coverage is running. Currently we
check for GCOV_PREFIX environment variable, but JS_CODE_COVERAGE_OUTPUT_DIR
is the one that actually affects results.

Most of the failures are due to coverage disabling lazy parsing.

Pushed by tcampbell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2e13d385cab9 Use JS_CODE_COVERAGE_OUTPUT_DIR to blacklist jit-tests. r=nbp
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: