summaryrefslogtreecommitdiff
path: root/tests/misc/arch
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/arch')
-rwxr-xr-xtests/misc/arch6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/misc/arch b/tests/misc/arch
index 4773491b4..a55a02c1c 100755
--- a/tests/misc/arch
+++ b/tests/misc/arch
@@ -18,6 +18,12 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
+# skip this test if arch isn't being built.
+case " $built_programs " in
+ *" arch "*) ;;
+ *) (exit 77); exit 77 ;;
+esac
+
if test "$VERBOSE" = yes; then
set -x
arch --version