From 6fcb7d37a38fe84bc462884285a51c5ad27d1118 Mon Sep 17 00:00:00 2001 From: Siyuan Miao Date: Fri, 16 May 2025 19:40:38 +0200 Subject: [PATCH] chore: store json test output to file --- resource/dev_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource/dev_test.sh b/resource/dev_test.sh index 07e62d2..90f569a 100644 --- a/resource/dev_test.sh +++ b/resource/dev_test.sh @@ -9,7 +9,7 @@ EXIT_CODE=0 runTest() { if [ "$JSON_OUTPUT" = true ]; then - ./test2json $1 -test.v $ADDITIONAL_ARGS + ./test2json $1 -test.v $ADDITIONAL_ARGS | tee $1.result.json if [ $? -ne 0 ]; then EXIT_CODE=1 fi