From 1508eb09fb0c86c3851d12d9fa6059569bc16f9e Mon Sep 17 00:00:00 2001 From: Zhuo Zhang Date: Thu, 30 May 2024 21:01:42 +0800 Subject: [PATCH] fix e2e-test.sh --- common/libzkp/e2e-test.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/common/libzkp/e2e-test.sh b/common/libzkp/e2e-test.sh index d3dddd4a65..c4dbe9c1fc 100644 --- a/common/libzkp/e2e-test.sh +++ b/common/libzkp/e2e-test.sh @@ -17,7 +17,11 @@ function build_test_bins() { cargo build --release ln -f -s $(realpath target/release/libzkp.so) $REPO/prover/core/lib ln -f -s $(realpath target/release/libzkp.so) $REPO/coordinator/internal/logic/verifier/lib - cd .. + cd $REPO/prover + go test -tags="gpu ffi" -timeout 0 -c core/prover_test.go + cd $REPO/coordinator + go test -tags="gpu ffi" -timeout 0 -c ./internal/logic/verifier + cd $REPO/common/libzkp } function build_test_bins_old() { @@ -34,7 +38,7 @@ function build_test_bins_old() { } build_test_bins -rm -rf test_zkp_test/* -rm -rf prover.log verifier.log -$REPO/prover/core.test -test.v 2>&1 | tee prover.log +#rm -rf test_zkp_test/* +#rm -rf prover.log verifier.log +#$REPO/prover/core.test -test.v 2>&1 | tee prover.log $REPO/coordinator/verifier.test -test.v 2>&1 | tee verifier.log