Bug 1767955 - wasm: Limit serialization field verification to nightly. r=yury

Restrict the platform for size tests to nightly, as some fields are
conditional to release/nightly. Testing on nightly should contain the
most fields and therefore be permissive.

Differential Revision: https://phabricator.services.mozilla.com/D145605
This commit is contained in:
Ryan Hunt 2022-05-05 14:56:52 +00:00
parent b88aed82c5
commit 61c4f38707

View File

@ -840,13 +840,14 @@ set_define("ENABLE_WASM_SIMD", wasm_simd)
# =====================================================================
@depends(target, c_compiler, moz_debug)
def wasm_verify_serialization_for_size(target, c_compiler, debug):
@depends(target, c_compiler, moz_debug, milestone)
def wasm_verify_serialization_for_size(target, c_compiler, debug, milestone):
if (
debug == True
and target.kernel == "Linux"
and target.cpu == "x86_64"
and c_compiler.type == "clang"
and milestone.is_nightly
):
return True
return