Fix name of test report ID variable
This commit is contained in:
		
							parent
							
								
									f705d2b5d3
								
							
						
					
					
						commit
						7861a707cd
					
				
							
								
								
									
										8
									
								
								test.sh
								
								
								
								
							
							
						
						
									
										8
									
								
								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 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue