mirror of https://github.com/jetkvm/kvm.git
chore: store json test output to file
This commit is contained in:
parent
c7436d2c1b
commit
6fcb7d37a3
|
@ -9,7 +9,7 @@ EXIT_CODE=0
|
||||||
|
|
||||||
runTest() {
|
runTest() {
|
||||||
if [ "$JSON_OUTPUT" = true ]; then
|
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
|
if [ $? -ne 0 ]; then
|
||||||
EXIT_CODE=1
|
EXIT_CODE=1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue