svn commit: r281420 - user/ngie/more-tests/share/mk

Garrett Cooper ngie at FreeBSD.org
Sat Apr 11 08:39:00 UTC 2015


Author: ngie
Date: Sat Apr 11 08:38:59 2015
New Revision: 281420
URL: https://svnweb.freebsd.org/changeset/base/281420

Log:
  Don't defining TESTSDIR before including bsd.test.mk is bad. I hate it when
  tests and programs clutter up /
  
  Sponsored by: EMC / Isilon Storage Division

Modified:
  user/ngie/more-tests/share/mk/bsd.test.mk

Modified: user/ngie/more-tests/share/mk/bsd.test.mk
==============================================================================
--- user/ngie/more-tests/share/mk/bsd.test.mk	Sat Apr 11 08:35:53 2015	(r281419)
+++ user/ngie/more-tests/share/mk/bsd.test.mk	Sat Apr 11 08:38:59 2015	(r281420)
@@ -10,6 +10,10 @@
 
 __<bsd.test.mk>__:
 
+.if !defined(TESTSDIR)
+.error "Please define TESTSDIR when including bsd.test.mk"
+.endif
+
 # List of subdirectories containing tests into which to recurse.  This has the
 # same semantics as SUBDIR at build-time.  However, the directories listed here
 # get registered into the run-time test suite definitions so that the test


More information about the svn-src-user mailing list