diff --git a/tests/semaphore.test.bash b/tests/semaphore.test.bash index 45a02f4f4..ee8f8fec3 100755 --- a/tests/semaphore.test.bash +++ b/tests/semaphore.test.bash @@ -5,17 +5,34 @@ if ! [[ "$0" =~ "tests/semaphore.test.bash" ]]; then exit 255 fi -TEST_SUFFIX=$(date +%s | base64 | head -c 15) +<&1 | tee test-${TEST_SUFFIX}.log" - -! egrep "(--- FAIL:|panic: test timed out|appears to have leaked)" -B50 -A10 test-${TEST_SUFFIX}.log +echo "Running tests with" ${TEST_OPTS} +if [ "${TEST_OPTS}" == "PASSES='build grpcproxy'" ]; then + echo "Skip proxy tests for this branch!" + exit 0 +elif [ "${TEST_OPTS}" == "coverage" ]; then + echo "Skip coverage tests for this branch!" + exit 0 +else + sudo HOST_TMP_DIR=/tmp TEST_OPTS="${TEST_OPTS}" make docker-test +fi