15 if [ $persist = "true" ]; then
22 if [ $verbose = "true" ]; then
28 if [ $unconfigure = "true" ]; then
29 args="$args -unconfigure"
35 if [ $tc_name != "all" ]; then
37 args="$args -run $tc_name"
42 if [ $single_test -eq 0 ] && [ $persist_set -eq 1 ]; then
43 echo "persist flag is not supported while running all tests!"
47 if [ $unconfigure_set -eq 1 ] && [ $single_test -eq 0 ]; then
48 echo "a single test has to be specified when unconfigure is set"
52 if [ $persist_set -eq 1 ] && [ $unconfigure_set -eq 1 ]; then
53 echo "setting persist flag and unconfigure flag is not allowed"
57 sudo -E go test -buildvcs=false -v $args