Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2017 17:53:14 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r322023 - head/lib/libxo/tests
Message-ID:  <201708031753.v73HrEKJ058856@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Thu Aug  3 17:53:14 2017
New Revision: 322023
URL: https://svnweb.freebsd.org/changeset/base/322023

Log:
  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.
  
  MFC after:	1 week

Modified:
  head/lib/libxo/tests/Makefile

Modified: head/lib/libxo/tests/Makefile
==============================================================================
--- head/lib/libxo/tests/Makefile	Thu Aug  3 17:43:26 2017	(r322022)
+++ head/lib/libxo/tests/Makefile	Thu Aug  3 17:53:14 2017	(r322023)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708031753.v73HrEKJ058856>