summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-08-12 23:40:01 +0000
committerngie <ngie@FreeBSD.org>2017-08-12 23:40:01 +0000
commitfccbab1afb9bff2c8514a8474e685fe0727866c9 (patch)
treec97c895a6a693cf7d246957f14673cde974b0fcc /lib
parent01424a180687a2ef7ed93cd10136c1648d332016 (diff)
downloadFreeBSD-src-fccbab1afb9bff2c8514a8474e685fe0727866c9.zip
FreeBSD-src-fccbab1afb9bff2c8514a8474e685fe0727866c9.tar.gz
MFC r322023:
Remove special-case logic for running tests on host machines I'm not sure what process sjg@ was using, but using CHECKDIR=${.OBJDIR} with "make check" on ^/head is the correct thing to do. This unbreaks "make check" for me (unsandboxed, not using CHECKDIR=${.OBJDIR}). While here, fix a whitespace nit with LIBADD.
Diffstat (limited to 'lib')
-rw-r--r--lib/libxo/tests/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libxo/tests/Makefile b/lib/libxo/tests/Makefile
index 20580ed..2c5f1a0 100644
--- a/lib/libxo/tests/Makefile
+++ b/lib/libxo/tests/Makefile
@@ -242,13 +242,8 @@ PROGS+= test_11
CFLAGS+= -I${LIBXOSRC}/libxo -I${.CURDIR:H}
-LIBADD= xo util
+LIBADD= xo util
SUBDIR+= encoder
-.if ${MACHINE} == "host"
-# make it easy to test without install
-TESTSDIR= ${.OBJDIR}
-.endif
-
.include <bsd.test.mk>
OpenPOWER on IntegriCloud