misc,tests: Updated and generalized the resource url for tests
authorBobby R. Bruce <bbruce@ucdavis.edu>
Tue, 21 Apr 2020 09:22:14 +0000 (02:22 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Sat, 25 Apr 2020 20:41:58 +0000 (20:41 +0000)
commit93933b44654e5e1f94cdbdc3efed84aa4a642b82
treee5877e12ba4ecf0d1fd9e7a256651723dee4bdc3
parent8be39b3059bee5be69e7d2687f6ef180acf6dae2
misc,tests: Updated and generalized the resource url for tests

As we are now going to maintain different bundles of resources for each
gem5 release, the resources have been archived to
http://dist.gem5.org/dist/current for gem5 19. The development branch
will use http://dist.gem5.org/dist/develop going forward. New releases
will follow the format http://dist.gem5.org/dist/{VERSION}.

This patch makes the resources url a command-line parameter, set to the
"correct" url by default. This will be updated to the correct, archived,
version subdirectory upon release of a new gem5 version. E.g.:
http://dist.gem5.org/dist/v20 for the gem5 20 release.

Some Make files have been cleaned up to no longer fetch and push to
remote locations. As gem5-resources is implemented, sources will be
moved to the gem5-resources resository and compiled binaries, etc.
pulled from our Google Cloud bucket from the tests themselves.

Change-Id: Ia16c496be3a60283ecc431ffaa5b059e1932b526
Issue-on: https://gem5.atlassian.net/browse/GEM5-431
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/27987
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
ext/testlib/config.py
tests/gem5/cpu_tests/test.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
tests/gem5/x86-boot-tests/test_linux_boot.py
tests/test-progs/hello/src/Makefile.arm
tests/test-progs/hello/src/Makefile.x86
tests/test-progs/m5-exit/src/Makefile.x86