tests: Add '-vv' verbose flags to Kokoro/Nightly/Weekly tests

Without this verbose flag, there is no information output on the tests
currently running. Output is only given on the pass/fail status of a
test after completion. This is unhelpful if the tests fail due to a
timeout (e.g., a test has stalled).

The '-vv' verbose flags sets up the TestLib package to output when a
test has started execution. This information can help in figuring out
which test caused a timeout event to occur.

Change-Id: I14e6752d40a7c8d7189211584073ba79c88ed7d5
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/53305
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
This commit is contained in:
Bobby R. Bruce
2021-11-28 21:04:04 -08:00
parent 7bc9b0175f
commit 732e0bfe9e
3 changed files with 3 additions and 3 deletions

View File

@@ -46,5 +46,5 @@ set -e
# Look for tests in the gem5 subdirectory
# Once complete, run the Google Tests
cd tests
./main.py run -j4 -t4 gem5 && scons -C .. --no-compress-debug \
./main.py run -j4 -t4 gem5 -vv && scons -C .. --no-compress-debug \
build/ARM/unittests.opt

View File

@@ -78,7 +78,7 @@ unit_test debug
# Run the gem5 long tests.
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
"${gem5_root}"/tests --rm gcr.io/gem5-test/ubuntu-20.04_all-dependencies \
./main.py run --length long -j${threads} -t${threads}
./main.py run --length long -j${threads} -t${threads} -vv
# Run the GPU tests.
# For the GPU tests we compile and run GCN3_X86 inside a gcn-gpu container.

View File

@@ -42,7 +42,7 @@ fi
# Run the gem5 very-long tests.
docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
"${gem5_root}"/tests --rm gcr.io/gem5-test/ubuntu-20.04_all-dependencies \
./main.py run --length very-long -j${threads} -t${threads}
./main.py run --length very-long -j${threads} -t${threads} -vv
mkdir -p tests/testing-results