tests: Specify a non-default root folder for regressions
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 13 Nov 2019 13:47:19 +0000 (13:47 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 14 Nov 2019 08:50:42 +0000 (08:50 +0000)
commit1fd1d2ed267757e4ea50faeaf9c6d784aa1f0049
tree669ea9355efea1d2addf103d14b268781fbbe460
parent732c47ffd328feb71d14aaf6ae823f80167c47ff
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 <giacomo.travaglini@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22726
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