Explicitely check the value of REGRESS_SKIP_SLOW rather than its emptyness,
authormiod <miod@openbsd.org>
Sat, 19 Jul 2014 18:15:53 +0000 (18:15 +0000)
committermiod <miod@openbsd.org>
Sat, 19 Jul 2014 18:15:53 +0000 (18:15 +0000)
for it defaults to a non-empty value; Doug Hogan

share/mk/bsd.regress.mk

index dfdd035..0b8aa4c 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: bsd.regress.mk,v 1.12 2013/08/01 20:43:07 kettenis Exp $
+# $OpenBSD: bsd.regress.mk,v 1.13 2014/07/19 18:15:53 miod Exp $
 # Documented in bsd.regress.mk(5)
 
 # No man pages for regression tests.
@@ -55,7 +55,7 @@ REGRESS_SKIP_TARGETS=run-regress-${PROG}
 .  endif
 .endif
 
-.if defined(REGRESS_SLOW_TARGETS) && !empty(REGRESS_SKIP_SLOW)
+.if defined(REGRESS_SLOW_TARGETS) && ${REGRESS_SKIP_SLOW} != no
 REGRESS_SKIP_TARGETS+=${REGRESS_SLOW_TARGETS}
 .endif