Page MenuHomeFreeBSD

D28045.diff
No OneTemporary

D28045.diff

Index: share/mk/suite.test.mk
===================================================================
--- share/mk/suite.test.mk
+++ share/mk/suite.test.mk
@@ -77,7 +77,7 @@
@mv ${.TARGET}.tmp ${.TARGET}
.endif
-KYUA= ${LOCALBASE}/bin/kyua
+KYUA?= kyua
# Definition of the "make check" target and supporting variables.
#
@@ -90,13 +90,13 @@
# report bogus results unless the new binaries are put in place.
realcheck: .PHONY
- @if [ ! -x ${KYUA} ]; then \
+ if ! which -s "${KYUA}"; then \
echo; \
echo "kyua binary not installed at expected location (${.TARGET})"; \
echo; \
echo "Please install via pkg install, or specify the path to the kyua"; \
- echo "package via the \$${LOCALBASE} variable, e.g. "; \
- echo "LOCALBASE=\"${LOCALBASE}\""; \
+ echo "binary via the \$${KYUA} variable, e.g. "; \
+ echo "KYUA=\"${LOCALBASE}/bin/kyua\""; \
false; \
fi
@env ${TESTS_ENV:Q} ${KYUA} test -k ${DESTDIR}${TESTSDIR}/Kyuafile

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 18, 10:04 AM (20 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31712561
Default Alt Text
D28045.diff (954 B)

Event Timeline