From f95ca62c82ef7ae6a57a0c420fe88186540d0510 Mon Sep 17 00:00:00 2001 From: CalvinNeo Date: Tue, 12 Mar 2024 22:15:54 +0800 Subject: [PATCH] log Signed-off-by: CalvinNeo --- proxy_scripts/ci_check.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/proxy_scripts/ci_check.sh b/proxy_scripts/ci_check.sh index 88aa58cb81e..12761868331 100755 --- a/proxy_scripts/ci_check.sh +++ b/proxy_scripts/ci_check.sh @@ -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 @@ -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" @@ -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 @@ -76,3 +79,4 @@ elif [[ $M == "release" ]]; then export ENGINE_LABEL_VALUE=tiflash make release fi + \ No newline at end of file