ext: testlib loading tests from multiple directories
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 29 Jan 2021 22:19:13 +0000 (22:19 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 2 Feb 2021 10:02:52 +0000 (10:02 +0000)
commit7ed22b36cb7844df929dd5783d452c422e720c1a
tree88ca8ff0e2b775e41e96d100d9c37ea9d8605a14
parentfe50018e80b3de7187feaadeb9de9f652386ff61
ext: testlib loading tests from multiple directories

We currently run regressions with the following command line

./main.py run [...] <directory>

Where <directory> is the positional argument pointing to the tests root
directory: Testlib will walk through the directory and load every
testsuite it encounters in its path.

./main.py run [...] <directory1> <directory2> ...

Allowing testlib to load tests from multiple directories will make it
possible to load out of tree regressions (living in an EXTRAS repository
for example)

JIRA: https://gem5.atlassian.net/browse/GEM5-905

Change-Id: I802d8753a18f4dfb00347252f031b5438e9be672
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40136
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
TESTING.md
ext/testlib/configuration.py
ext/testlib/main.py