Print skipped while running on anything other than i386.
authoranton <anton@openbsd.org>
Sun, 4 Dec 2022 19:04:38 +0000 (19:04 +0000)
committeranton <anton@openbsd.org>
Sun, 4 Dec 2022 19:04:38 +0000 (19:04 +0000)
regress/sys/ddb/Makefile

index e2cdba8..b1823ee 100644 (file)
@@ -1,8 +1,7 @@
-#      $OpenBSD: Makefile,v 1.4 2014/12/17 00:10:22 daniel Exp $
+#      $OpenBSD: Makefile,v 1.5 2022/12/04 19:04:38 anton Exp $
 
-.if (${MACHINE} == "i386")
+.if ${MACHINE} == "i386"
 REGRESS_TARGETS+=      size
-.endif
 
 SRC=           ${.CURDIR}/../../..
 
@@ -22,4 +21,10 @@ size:        clean
 clean:
        rm -rf build
 
+.elif make(regress) || make(all)
+${.TARGETS}:
+       @echo Cannot run on ${MACHINE}
+       @echo SKIPPED
+.endif
+
 .include <bsd.regress.mk>