socsvn commit: r254451 - soc2013/dpl/head/usr.bin/xz

dpl at FreeBSD.org dpl at FreeBSD.org
Tue Jul 9 07:13:20 UTC 2013


Author: dpl
Date: Tue Jul  9 07:13:20 2013
New Revision: 254451
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=254451

Log:
  Added a simple test target.
  

Modified:
  soc2013/dpl/head/usr.bin/xz/Makefile

Modified: soc2013/dpl/head/usr.bin/xz/Makefile
==============================================================================
--- soc2013/dpl/head/usr.bin/xz/Makefile	Tue Jul  9 07:10:45 2013	(r254450)
+++ soc2013/dpl/head/usr.bin/xz/Makefile	Tue Jul  9 07:13:20 2013	(r254451)
@@ -48,4 +48,14 @@
 DPADD=	${LIBLZMA}
 LDADD=	-llzma
 
+CLEANFILES+= testfile testfile.xz ktrace.out
+
+test: xz
+	- at rm testfile
+	- at rm testfile.xz
+	@echo one > testfile
+	- at ktrace -i ./xz testfile;	\
+	if [ $$? -ne 0 ];				\
+		then kdump;			\
+	fi;
 .include <bsd.prog.mk>


More information about the svn-soc-all mailing list