#!/bin/bash -e # Copyright (c) Mysten Labs, Inc. # SPDX-License-Identifier: Apache-2.0 # verify that git repo is clean if [[ -n $(git status -s) ]]; then echo "Working directory is not clean. Please commit all changes before running this script." exit 1 fi # apply git patch git apply ./scripts/simtest/config-patch 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 git checkout .cargo/config Cargo.toml Cargo.lock