tests: Removed `tests/halt.sh`
authorBobby R. Bruce <bbruce@ucdavis.edu>
Wed, 19 Aug 2020 08:26:31 +0000 (01:26 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Fri, 4 Sep 2020 20:10:45 +0000 (20:10 +0000)
`tests/halt.sh` is a duplicate of `configs/tests/halt.sh`. The one
instance of using `halt.sh`, `tests/gem5/fs/linux/arm/run.py`, has been
updated to use `configs/tests/halt.sh` and `tests/halt.sh` has been
removed.

Change-Id: I42f77a22b5985959a579c75541e4a0fdc135aa0c
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33135
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
tests/gem5/fs/linux/arm/run.py
tests/halt.sh [deleted file]

index 427fae86daca6d4285702c6c5b99159b3d306c15..1783439f132f9e9d80978d83ad8d8e424b1ab8cf 100644 (file)
@@ -67,7 +67,7 @@ sys.path.append(joinpath(tests_root, 'configs'))
 exec(compile(open(config).read(), config, 'exec'))
 
 system = root.system
-system.readfile = os.path.join(tests_root, 'halt.sh')
+system.readfile = os.path.join(gem5_root, 'configs', 'boot', 'halt.sh')
 
 # The CPU can either be a list of CPUs or a single object.
 if isinstance(system.cpu, list):
diff --git a/tests/halt.sh b/tests/halt.sh
deleted file mode 100644 (file)
index b1332eb..0000000
+++ /dev/null
@@ -1 +0,0 @@
-m5 exit