Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152833384
D28045.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
954 B
Referenced Files
None
Subscribers
None
D28045.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D28045: build: `make check`: use a PATH search instead for Kyua
Attached
Detach File
Event Timeline
Log In to Comment