From 7861a707cd7871e71517ebf603641a00b8c0e8c7 Mon Sep 17 00:00:00 2001 From: Joel Speed Date: Wed, 7 Oct 2020 18:08:16 +0100 Subject: [PATCH] Fix name of test report ID variable --- test.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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