Skip to content

Commit

Permalink
fix e2e-test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lispc committed May 30, 2024
1 parent af03c22 commit 1508eb0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions common/libzkp/e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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

0 comments on commit 1508eb0

Please sign in to comment.