tests: Fix syntax error in cpu_tests/test.py
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 18 Jan 2021 09:50:00 +0000 (09:50 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Tue, 19 Jan 2021 10:06:21 +0000 (10:06 +0000)
The testsuite was not loaded with the following error:

Exception thrown while loading
<gem5>/tests/gem5/cpu_tests/test.py

Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Change-Id: I1e88b8957bb24471e1bb6113ffc7c78886b6ed70
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39295
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
tests/gem5/cpu_tests/test.py

index 393ff266ff44fd457ce20d731c7c66b5ecac7168..ee564009153a03efe4eda3a16cafd3bfd821f5ba 100644 (file)
@@ -60,9 +60,9 @@ base_path = joinpath(config.bin_path, 'cpu_tests')
 base_url = config.resource_url + '/gem5/cpu_tests/benchmarks/bin/'
 
 isa_url = {
-    constants.gcn3_x86_tag : base_url + "x86"
-    constants.arm_tag : base_url + "arm"
-    constants.riscv_tag : base_url + "riscv"
+    constants.gcn3_x86_tag : base_url + "x86",
+    constants.arm_tag : base_url + "arm",
+    constants.riscv_tag : base_url + "riscv",
 }
 
 for isa in valid_isas: