summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-03-16 18:21:07 -0700
committerQuentin Carbonneaux <quentin@c9x.me>2021-03-18 12:09:58 +0100
commit0678bee5788acd08d62219f4fc857589e2703197 (patch)
treea13f90b24a5b1863defdc225c8b6bc7fe5c0da05
parenta2962bb1ec4f14197d8c6901fb27ee44a439cd15 (diff)
downloadroux-0678bee5788acd08d62219f4fc857589e2703197.tar.gz
Revert "arm64: try qemu-system-aarch64"
This reverts commit be3a67a7f5079f30b0ccc696d549fd03a2dbbad1.

qemu-system-aarch64 is a full system emulator and is not suitable
for running the qbe test suite (at least without a kernel and root
filesystem).
-rwxr-xr-xtools/test.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/test.sh b/tools/test.sh
index 3bf7e95..937974b 100755
--- a/tools/test.sh
+++ b/tools/test.sh
@@ -20,15 +20,10 @@ testcc() {
 init() {
 	case "$TARGET" in
 	arm64)
-		qemucmd=qemu-system-aarch64
-		if ! $qemucmd -version >/dev/null 2>&1
-		then
-			qemucmd=qemu-aarch64
-		fi
 		for p in aarch64-linux-musl aarch64-linux-gnu
 		do
 			cc="$p-gcc -no-pie"
-			qemu="$qemucmd -L /usr/$p"
+			qemu="qemu-aarch64 -L /usr/$p"
 			if
 				$cc -v >/dev/null 2>&1 &&
 				$qemu -version >/dev/null 2>&1 &&