tests: Updated tests to download from http://dist.gem5.org

Previously some tests, and test resources, downloaded content from
http://gem5.org . This is being migrated to http://dist.gem5.org.
http://dist.gem5.org should be used to store and retrieve resources
going forward.

Change-Id: I7162c76b9b8dc07657a6ba50d643fc93c9824fdf
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24548
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Bobby R. Bruce
2020-01-17 17:32:44 -08:00
parent 54a27b007a
commit af02aa6a0d
6 changed files with 7 additions and 6 deletions

View File

@@ -43,7 +43,7 @@ valid_isas = {
base_path = joinpath(absdirpath(__file__), 'benchmarks', 'bin')
base_url = 'http://gem5.org/dist/current/gem5/cpu_tests/benchmarks/bin/'
base_url = 'http://dist.gem5.org/dist/current/gem5/cpu_tests/benchmarks/bin/'
for isa in valid_isas:
path = joinpath(base_path, isa)
for workload in workloads:

View File

@@ -84,7 +84,7 @@ arm_fs_long_tests = [
]
tarball = 'aarch-system-201901106.tar.bz2'
url = "http://gem5.org/dist/current/arm/" + tarball
url = "http://dist.gem5.org/dist/current/arm/" + tarball
path = os.path.dirname(os.path.abspath(__file__))
arm_fs_binaries = DownloadedArchive(url, path, tarball)

View File

@@ -40,7 +40,8 @@ r'Exiting @ tick \d* because m5_exit instruction encountered'
path = joinpath(absdirpath(__file__), '..',
'test-progs', 'hello', 'bin', 'x86', 'linux')
filename = 'm5_exit'
url = 'http://gem5.org/dist/current/test-progs/m5-exit/bin/x86/linux/m5_exit'
url = 'http://dist.gem5.org/dist/current/test-progs/' +
'm5-exit/bin/x86/linux/m5_exit'
test_program = DownloadedProgram(url, path, filename)
a = verifier.MatchRegex(m5_exit_regex)

View File

@@ -1,6 +1,6 @@
SERVER_USER=
SERVER_PATH=/z/www/htdocs/dist/current/test-progs/hello/bin/arm/linux
FETCH_PATH=http://gem5.org/dist/current/test-progs/hello/bin/arm/linux
FETCH_PATH=http://dist.gem5.org/dist/current/test-progs/hello/bin/arm/linux
UPLOAD_LOCATION=$(SERVER_USER)daystrom.gem5.org:$(SERVER_PATH)
all: hello64-static hello32-static

View File

@@ -1,6 +1,6 @@
SERVER_USER=
SERVER_PATH=/z/www/htdocs/dist/current/test-progs/hello/bin/x86/linux
FETCH_PATH=http://gem5.org/dist/current/test-progs/hello/bin/x86/linux
FETCH_PATH=http://dist.gem5.org/dist/current/test-progs/hello/bin/x86/linux
UPLOAD_LOCATION=$(SERVER_USER)daystrom.gem5.org:$(SERVER_PATH)

View File

@@ -1,6 +1,6 @@
SERVER_USER=
SERVER_PATH=/z/www/htdocs/dist/current/test-progs/m5-exit/bin/x86/linux
FETCH_PATH=http://gem5.org/dist/current/test-progs/m5-exit/bin/x86/linux
FETCH_PATH=http://dist.gem5.org/dist/current/test-progs/m5-exit/bin/x86/linux
UPLOAD_LOCATION=$(SERVER_USER)daystrom.gem5.org:$(SERVER_PATH)