19 if [ $persist = "true" ]; then
26 if [ $debug = "true" ]; then
33 if [ $verbose = "true" ]; then
39 if [ $unconfigure = "true" ]; then
40 args="$args -unconfigure"
45 args="$args -cpus ${i#*=}"
48 args="$args -vppsrc ${i#*=}"
52 if [ $tc_name != "all" ]; then
54 ginkgo_args="$ginkgo_args --focus $tc_name -vv"
57 ginkgo_args="$ginkgo_args -v"
61 ginkgo_args="$ginkgo_args -procs=${i#*=}"
64 ginkgo_args="$ginkgo_args --repeat=${i#*=}"
69 if [ $single_test -eq 0 ] && [ $persist_set -eq 1 ]; then
70 echo "persist flag is not supported while running all tests!"
74 if [ $unconfigure_set -eq 1 ] && [ $single_test -eq 0 ]; then
75 echo "a single test has to be specified when unconfigure is set"
79 if [ $persist_set -eq 1 ] && [ $unconfigure_set -eq 1 ]; then
80 echo "setting persist flag and unconfigure flag is not allowed"
84 if [ $single_test -eq 0 ] && [ $debug_set -eq 1 ]; then
85 echo "VPP debug flag is not supperted while running all tests!"
89 sudo -E go run github.com/onsi/ginkgo/v2/ginkgo --trace $ginkgo_args -- $args