Skip to content

Commit

Permalink
ci: fix sanitize (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
PureWhiteWu authored Feb 7, 2025
1 parent 2276c06 commit df67476
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/sanitize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ set -ex
export ASAN_OPTIONS="disable_coredump=0:unmap_shadow_on_exit=1:abort_on_error=1"

run_tests() {
cargo +nightly test --release --target x86_64-unknown-linux-gnu --features sanitize "$2"
cargo +nightly test --doc --package sonic-rs --target x86_64-unknown-linux-gnu --features sanitize "$2"
cargo +nightly test --release --target x86_64-unknown-linux-gnu --features sanitize,"$1"
cargo +nightly test --doc --package sonic-rs --target x86_64-unknown-linux-gnu --features sanitize,"$1"
}

echo "Running tests with $1 and $2"
Expand Down

0 comments on commit df67476

Please # to comment.