chore: store json test output to file

This commit is contained in:
Siyuan Miao 2025-05-16 19:40:38 +02:00
parent c7436d2c1b
commit 6fcb7d37a3
1 changed files with 1 additions and 1 deletions

View File

@ -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