Browse Source

Fix valgrind and ASan in the release script

master
Gavin Howard 4 months ago
parent
commit
b30a755a18
Signed by: gavin GPG Key ID: C08038BDF280D33E
  1. 14
      release.sh

14
release.sh

@ -326,18 +326,18 @@ vg() {
_vg_bits=32
fi
build "$debug" "gcc" "-O0 -g" "1" "$_vg_bits"
runtest valgrind
build "$debug" "gcc" "-O0 -gv" "1" "$_vg_bits"
runtest test
do_make clean_config
build "$debug" "gcc" "-O0 -gb" "1" "$_vg_bits"
runtest valgrind
build "$debug" "gcc" "-O0 -gvb" "1" "$_vg_bits"
runtest test
do_make clean_config
build "$debug" "gcc" "-O0 -gd" "1" "$_vg_bits"
runtest valgrind
build "$debug" "gcc" "-O0 -gvd" "1" "$_vg_bits"
runtest test
do_make clean_config
}
@ -514,7 +514,7 @@ else
defcc="c99"
fi
export ASAN_OPTIONS="abort_on_error=1"
export ASAN_OPTIONS="abort_on_error=1,allocator_may_return_null=1"
export UBSAN_OPTIONS="print_stack_trace=1,silence_unsigned_overflow=1"
build "$debug" "$defcc" "-g" "1" "$bits"

Loading…
Cancel
Save