Date: Tue, 9 Jul 2013 07:13:20 GMT From: dpl@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r254451 - soc2013/dpl/head/usr.bin/xz Message-ID: <201307090713.r697DK2n029135@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 + -@rm testfile + -@rm testfile.xz + @echo one > testfile + -@ktrace -i ./xz testfile; \ + if [ $$? -ne 0 ]; \ + then kdump; \ + fi; .include <bsd.prog.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307090713.r697DK2n029135>