Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
Signed-off-by: CalvinNeo <[email protected]>
  • Loading branch information
CalvinNeo committed Mar 12, 2024
1 parent b9d84c0 commit f95ca62
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion proxy_scripts/ci_check.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
set -uxeo pipefail
cat /etc/issue
cat /proc/version
echo "LD_LIBRARY_PATH=", $LD_LIBRARY_PATH
echo "PATH=", $PATH

if [[ $M == "fmt" ]]; then
pwd
Expand Down Expand Up @@ -39,6 +41,7 @@ elif [[ $M == "testold" ]]; then
elif [[ $M == "testnew" ]]; then
chmod +x ./proxy_scripts/make_env.sh
./proxy_scripts/make_env.sh
export /usr/local/lib/
export ENGINE_LABEL_VALUE=tiflash
export RUST_BACKTRACE=full
export ENABLE_FEATURES="test-engine-kv-rocksdb test-engine-raft-raft-engine openssl-vendored"
Expand Down Expand Up @@ -66,7 +69,7 @@ elif [[ $M == "testnew" ]]; then
cargo test --package proxy_tests --features="$ENABLE_FEATURES" --test proxy shared::fast_add_peer
cargo test --package proxy_tests --features="$ENABLE_FEATURES" --test proxy shared::replica_read -- --test-threads 1
cargo test --package proxy_tests --features="$ENABLE_FEATURES" --test proxy shared::ffi -- --test-threads 1
cargo test --package proxy_tests --features="$ENABLE_FEATURES" --test proxy shared::write --features="proxy_tests/enable-pagestorage"
LD_LIBRARY_PATH=/usr/local/lib cargo test --package proxy_tests --features="$ENABLE_FEATURES" --test proxy shared::write --features="proxy_tests/enable-pagestorage"
# We don't support snapshot test for PS, since it don't support trait Snapshot.
elif [[ $M == "debug" ]]; then
# export RUSTC_WRAPPER=~/.cargo/bin/sccache
Expand All @@ -76,3 +79,4 @@ elif [[ $M == "release" ]]; then
export ENGINE_LABEL_VALUE=tiflash
make release
fi

0 comments on commit f95ca62

Please sign in to comment.