summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/coverage/lcov-enabled-2.js
blob: 133d167e3d5d3f9a81f25486416bf2e8c17f6e57 (plain)
1
2
3
4
5
6
7
// Setting the `JS_CODE_COVERAGE_OUTPUT_DIR` for will also enable coverage for
// the process.

if (os.getenv("JS_CODE_COVERAGE_OUTPUT_DIR")) {
    assertEq(isLcovEnabled(), true);
}