Add tsan for fast interp and aot (#2679)
To run it locally: ```bash export TSAN_OPTIONS=suppressions=<path_to_tsan_suppressions.txt> ./test_wamr.sh <your flags> -T tsan ``` An example for wasi-threads would look like: ```bash export TSAN_OPTIONS=suppressions=<path_to_tsan_suppressions.txt> ./test_wamr.sh -w -s wasi_certification -t fast-interp -T tsan ```
This commit is contained in:
11
tests/wamr-test-suites/tsan_suppressions.txt
Normal file
11
tests/wamr-test-suites/tsan_suppressions.txt
Normal file
@ -0,0 +1,11 @@
|
||||
# Proposing to accept this risk for now. It might be wasi-libc related.
|
||||
# https://github.com/bytecodealliance/wasm-micro-runtime/pull/1963#issuecomment-1455342931
|
||||
race:STORE_U32
|
||||
|
||||
|
||||
# https://github.com/bytecodealliance/wasm-micro-runtime/issues/2680
|
||||
race:execute_post_instantiate_functions
|
||||
|
||||
# Suppressing signal-unsafe inside of a signal for AOT mode
|
||||
# see https://github.com/bytecodealliance/wasm-micro-runtime/issues/2248#issuecomment-1630189656
|
||||
signal:*
|
||||
Reference in New Issue
Block a user