mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Make the tsan build fail instead of swallowing its errors.
We'll make it non-required, but we want to know about these failures so we are incentivised to fix them.
This commit is contained in:
parent
01e2cc55cb
commit
5352f48301
|
@ -24,5 +24,9 @@ cd _build
|
|||
|
||||
ninja install -j$(nproc)
|
||||
|
||||
export ASAN_OPTIONS="detect_invalid_pointer_pairs=1"
|
||||
export ASAN_OPTIONS="$ASAN_OPTIONS,detect_stack_use_after_return=1"
|
||||
export ASAN_OPTIONS="$ASAN_OPTIONS,strict_init_order=1"
|
||||
export ASAN_OPTIONS="$ASAN_OPTIONS,strict_string_checks=1"
|
||||
ctest -j50 --output-on-failure ||
|
||||
ctest -j50 --output-on-failure --rerun-failed
|
||||
|
|
|
@ -24,6 +24,7 @@ cd _build
|
|||
|
||||
ninja install -j$(nproc)
|
||||
|
||||
export TSAN_OPTIONS="halt_on_error=1"
|
||||
export TSAN_OPTIONS="$TSAN_OPTIONS,second_deadlock_stack=1"
|
||||
ctest -j50 --output-on-failure ||
|
||||
ctest -j50 --output-on-failure --rerun-failed ||
|
||||
true # TODO(iphydf): remove this line once the data races are fixed.
|
||||
ctest -j50 --output-on-failure --rerun-failed
|
||||
|
|
Loading…
Reference in New Issue
Block a user