'sparc' : ('linux',)
}
+if config.bin_path:
+ base_path = config.bin_path
+else:
+ base_path = joinpath(absdirpath(__file__), '..', 'test-progs')
+
urlbase = 'http://dist.gem5.org/dist/current/test-progs/insttest/bin/'
for isa in test_progs:
for binary in test_progs[isa]:
for operating_s in supported_os[isa]:
import os
url = urlbase + isa + '/' + operating_s + '/' + binary
- path = joinpath(absdirpath(__file__), '..', 'test-progs', binary,
- 'bin', isa, operating_s)
+ path = joinpath(base_path, isa, operating_s, binary)
+
try:
program = DownloadedProgram(url, path, binary)
except: