diff options
Diffstat (limited to 'tests/gem5/cpu_tests/test.py')
-rw-r--r-- | tests/gem5/cpu_tests/test.py | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/tests/gem5/cpu_tests/test.py b/tests/gem5/cpu_tests/test.py index 1a61a7331..073bcc410 100644 --- a/tests/gem5/cpu_tests/test.py +++ b/tests/gem5/cpu_tests/test.py @@ -1,3 +1,15 @@ +# Copyright (c) 2020 ARM Limited +# All rights reserved +# +# The license below extends only to copyright in the software and shall +# not be construed as granting a license to any other intellectual +# property including but not limited to intellectual property relating +# to a hardware implementation of the functionality of the software +# licensed hereunder. You may use the software subject to the license +# terms below provided that you ensure that this notice is replicated +# unmodified and in its entirety in all distributions of the software, +# modified or unmodified, in source code or in binary form. +# # Copyright (c) 2018 The Regents of the University of California # All Rights Reserved. # @@ -41,8 +53,11 @@ valid_isas = { 'riscv': ('AtomicSimpleCPU', 'TimingSimpleCPU', 'MinorCPU', 'DerivO3CPU'), } +if config.bin_path: + base_path = config.bin_path +else: + base_path = joinpath(absdirpath(__file__), 'benchmarks', 'bin') -base_path = joinpath(absdirpath(__file__), '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) |