From: Giacomo Travaglini Date: Wed, 13 Nov 2019 13:47:19 +0000 (+0000) Subject: tests: Specify a non-default root folder for regressions X-Git-Tag: v19.0.0.0~297 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1fd1d2ed267757e4ea50faeaf9c6d784aa1f0049;p=gem5.git tests: Specify a non-default root folder for regressions The new testlib library is looking for regressions walking from a root folder. This by default points to the tests dir. Since all regressions are supposed to live in the tests/gem5 subdir, the patch is assigning the gem5 subdir as a root directory. This will prevent the example garbage to be printed in the ci framework: Exception thrown while loading "/tmpfs/src/git/jenkins-gem5-prod/tests/long/fs/10.linux-boot/test.py" Ignoring all tests in this file. Exception thrown while loading "/tmpfs/src/git/jenkins-gem5-prod/tests/long/fs/80.solaris-boot/test.py" Ignoring all tests in this file. [...] Change-Id: Ia12c6bbeda4ceac71ccd38156ab1e3bb98b05c89 Signed-off-by: Giacomo Travaglini Reviewed-by: Nikos Nikoleris Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22726 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- diff --git a/tests/jenkins/presubmit.sh b/tests/jenkins/presubmit.sh index 02833bd03..e76aa4c67 100755 --- a/tests/jenkins/presubmit.sh +++ b/tests/jenkins/presubmit.sh @@ -46,4 +46,5 @@ cd git/jenkins-gem5-prod/tests # Build with 4 threads (i.e., pass -j4 to scons) # Run 4 tests in parallel -./main.py run -j4 -t4 +# Look for tests in the gem5 subdirectory +./main.py run -j4 -t4 gem5