@@ -518,13 +518,11 @@ CI_UNIX_OPTS_QEMU_RISCV64=(
518
518
)
519
519
520
520
CI_UNIX_OPTS_SANITIZE_ADDRESS=(
521
- VARIANT=coverage
522
521
CFLAGS_EXTRA=" -fsanitize=address --param asan-use-after-return=0"
523
522
LDFLAGS_EXTRA=" -fsanitize=address --param asan-use-after-return=0"
524
523
)
525
524
526
525
CI_UNIX_OPTS_SANITIZE_UNDEFINED=(
527
- VARIANT=coverage
528
526
CFLAGS_EXTRA=" -fsanitize=undefined -fno-sanitize=nonnull-attribute"
529
527
LDFLAGS_EXTRA=" -fsanitize=undefined -fno-sanitize=nonnull-attribute"
530
528
)
@@ -699,7 +697,7 @@ function ci_unix_nanbox_run_tests {
699
697
}
700
698
701
699
function ci_unix_longlong_build {
702
- ci_unix_build_helper VARIANT=longlong
700
+ ci_unix_build_helper VARIANT=longlong " ${CI_UNIX_OPTS_SANITIZE_UNDEFINED[@]} "
703
701
}
704
702
705
703
function ci_unix_longlong_run_tests {
@@ -765,23 +763,23 @@ function ci_unix_settrace_stackless_run_tests {
765
763
function ci_unix_sanitize_undefined_build {
766
764
make ${MAKEOPTS} -C mpy-cross
767
765
make ${MAKEOPTS} -C ports/unix submodules
768
- make ${MAKEOPTS} -C ports/unix " ${CI_UNIX_OPTS_SANITIZE_UNDEFINED[@]} "
766
+ make ${MAKEOPTS} -C ports/unix VARIANT=coverage " ${CI_UNIX_OPTS_SANITIZE_UNDEFINED[@]} "
769
767
ci_unix_build_ffi_lib_helper gcc
770
768
}
771
769
772
770
function ci_unix_sanitize_undefined_run_tests {
773
- MICROPY_TEST_TIMEOUT=60 ci_unix_run_tests_full_helper coverage " ${CI_UNIX_OPTS_SANITIZE_UNDEFINED[@]} "
771
+ MICROPY_TEST_TIMEOUT=60 ci_unix_run_tests_full_helper coverage VARIANT=coverage " ${CI_UNIX_OPTS_SANITIZE_UNDEFINED[@]} "
774
772
}
775
773
776
774
function ci_unix_sanitize_address_build {
777
775
make ${MAKEOPTS} -C mpy-cross
778
776
make ${MAKEOPTS} -C ports/unix submodules
779
- make ${MAKEOPTS} -C ports/unix " ${CI_UNIX_OPTS_SANITIZE_ADDRESS[@]} "
777
+ make ${MAKEOPTS} -C ports/unix VARIANT=coverage " ${CI_UNIX_OPTS_SANITIZE_ADDRESS[@]} "
780
778
ci_unix_build_ffi_lib_helper gcc
781
779
}
782
780
783
781
function ci_unix_sanitize_address_run_tests {
784
- MICROPY_TEST_TIMEOUT=60 ci_unix_run_tests_full_helper coverage " ${CI_UNIX_OPTS_SANITIZE_ADDRESS[@]} "
782
+ MICROPY_TEST_TIMEOUT=60 ci_unix_run_tests_full_helper coverage VARIANT=coverage " ${CI_UNIX_OPTS_SANITIZE_ADDRESS[@]} "
785
783
}
786
784
787
785
function ci_unix_macos_build {
0 commit comments