Skip to content

Commit

Permalink
Set SIMTEST_STATIC_INIT_MOVE variable for Code Coverage (#18998)
Browse files Browse the repository at this point in the history
## Description 
Set `SIMTEST_STATIC_INIT_MOVE` variable for Code Coverage due to
#18752

## Test plan 

https://github.com/MystenLabs/sui/actions/runs/10406180594/job/28818615076
  • Loading branch information
ebmifa authored and suiwombat committed Sep 16, 2024
1 parent d1f2e48 commit abc6459
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/simtest/codecov.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ fi
# apply git patch
git apply ./scripts/simtest/config-patch

root_dir=$(git rev-parse --show-toplevel)
export SIMTEST_STATIC_INIT_MOVE=$root_dir"/examples/move/basics"

MSIM_WATCHDOG_TIMEOUT_MS=60000 MSIM_TEST_SEED=1 cargo llvm-cov --ignore-run-fail --lcov --output-path lcov-simtest.info nextest --cargo-profile simulator

# remove the patch
Expand Down

0 comments on commit abc6459

Please sign in to comment.