From 45b69b5524b9c22ac5ef1d25e084d53a1a8be9b1 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Mon, 31 Oct 2022 12:35:46 +0100 Subject: CC/test test_runner.sh: correctly report the reuslt The test runner is supposed to report the reult in a file called 'result' in the top-level action directory. However, before starting the actual test, it changes the working directory to the subdir 'work' where the input of the test action is located. Therefore, when reporting the result, the correct file name is '../result'. Fix this. --- rules/CC/test/test_runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules/CC/test') diff --git a/rules/CC/test/test_runner.sh b/rules/CC/test/test_runner.sh index 716eaa99..84b9072f 100644 --- a/rules/CC/test/test_runner.sh +++ b/rules/CC/test/test_runner.sh @@ -42,7 +42,7 @@ else RESULT=FAIL fi date +%s > ../time-stop -echo "${RESULT}" > result +echo "${RESULT}" > ../result if [ "${RESULT}" '!=' PASS ] then -- cgit v1.2.3