tests: Standardized test resources download dir
authorBobby R. Bruce <bbruce@ucdavis.edu>
Fri, 21 Aug 2020 00:41:24 +0000 (17:41 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Fri, 4 Sep 2020 20:10:45 +0000 (20:10 +0000)
commit2d279a9d0131b27a4ea554ddb0af400044b37853
treef02b195c55133c440ca9fb8b3b7fb8a74e4c8270
parentdb3c71125d6dfe0163aa8d9b760490a318e318c6
tests: Standardized test resources download dir

We were downloading resources to various different locations, for no
real reason. This standardizes the process. From this commit onwards,
all testing resources are downloaded to `tests/gem5/resources` by
default. This may be overriden via the `--bin-path` TestLib argument.

Note: In order to do this I have changed the meaning of the `bin-path`
TestLib argument slightly. Previously the `bin-path` assumed a flat
(non-existant) hierarchy. A simple directory of local resources. This
new bin-path functionality maintains logical sub-directories. This is
technically an API change and will be noted in the release notes.

Change-Id: I4df85c121fa65f787fd71f03d74361afea121380
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33145
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
ext/testlib/configuration.py
tests/.gitignore
tests/gem5/cpu_tests/test.py
tests/gem5/fixture.py
tests/gem5/fs/linux/arm/test.py
tests/gem5/hello_se/test_hello_se.py
tests/gem5/insttest_se/test.py
tests/gem5/m5_util/test_exit.py
tests/gem5/m5threads_test_atomic/test.py