diff --git a/test.sh b/test.sh index c4f6ef85..114940b1 100755 --- a/test.sh +++ b/test.sh @@ -2,8 +2,8 @@ # manually exiting from script, because after-build needs to run always set +e -if [ -z $CC_TEST_REPORT_ID ]; then - echo "1. CC_TEST_REPORT_ID is unset, skipping" +if [ -z $CC_TEST_REPORTER_ID ]; then + echo "1. CC_TEST_REPORTER_ID is unset, skipping" else echo "1. Running before-build" ./cc-test-reporter before-build @@ -14,8 +14,8 @@ make test TEST_STATUS=$? echo "TEST_STATUS: ${TEST_STATUS}" -if [ -z $CC_TEST_REPORT_ID ]; then - echo "3. CC_TEST_REPORT_ID is unset, skipping" +if [ -z $CC_TEST_REPORTER_ID ]; then + echo "3. CC_TEST_REPORTER_ID is unset, skipping" else echo "3. Running after-build" ./cc-test-reporter after-build --exit-code $TEST_STATUS -t gocov