tests: Setup Kokoro to run the GTest suite.
authorBobby R. Bruce <bbruce@ucdavis.edu>
Mon, 16 Dec 2019 22:07:22 +0000 (14:07 -0800)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Tue, 17 Dec 2019 05:02:15 +0000 (05:02 +0000)
Change-Id: If700eed24b2902d04a9b0ee72b72e9e6a3472ef5
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23724
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
tests/jenkins/presubmit.sh

index e76aa4c67c50ee40ed35ca5733715490754b1df7..f564bc43534d6050b2b6307d2a0e809f20121fca 100755 (executable)
@@ -47,4 +47,5 @@ cd git/jenkins-gem5-prod/tests
 # Build with 4 threads (i.e., pass -j4 to scons)
 # Run 4 tests in parallel
 # Look for tests in the gem5 subdirectory
-./main.py run -j4 -t4 gem5
+# Once complete, run the Google Tests
+./main.py run -j4 -t4 gem5 && scons -C .. build/NULL/unittests.opt