Skip to content

Commit

Permalink
Added functionality to run all tests or specify regex to match specif…
Browse files Browse the repository at this point in the history
…ic test/s.
  • Loading branch information
HristoStaykov committed Mar 8, 2024
1 parent af103cb commit 3fdc101
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@ COMMAND='cmake -G "Unix Makefiles" -B ${ZKLLVM_BUILD:-build} -DCMAKE_BUILD_TYPE=

${SCRIPT_DIR}/docker_run.sh "$COMMAND"

bash ${SCRIPT_DIR}/docker_run.sh "make -C ${ZKLLVM_BUILD:-build} test "
if [ $# == 0 ]
then
bash ${SCRIPT_DIR}/docker_run.sh "make -C ${ZKLLVM_BUILD:-build} test "
else
bash ${SCRIPT_DIR}/docker_run.sh "ctest --test-dir ${ZKLLVM_BUILD:-build} -R ${@}"
fi

0 comments on commit 3fdc101

Please sign in to comment.