summaryrefslogtreecommitdiffstats
path: root/debian/tests/test-@NAME@.in
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/tests/test-@NAME@.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/tests/test-@NAME@.in b/debian/tests/test-@NAME@.in
new file mode 100644
index 0000000..dd36576
--- /dev/null
+++ b/debian/tests/test-@NAME@.in
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+DEB_HOST_ARCH=$(dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_ARCH_BITS=$(dpkg-architecture -qDEB_HOST_ARCH_BITS)
+
+@QEMU_GOOD@ /usr/libexec/$DEB_HOST_ARCH/isa-support/test-@NAME@
+@QEMU_BAD@ /usr/libexec/$DEB_HOST_ARCH/isa-support/test-@NAME@ || true