svn commit: r319294 - head/usr.bin/mkimg/tests
Ngie Cooper
ngie at FreeBSD.org
Wed May 31 07:49:50 UTC 2017
Author: ngie
Date: Wed May 31 07:49:49 2017
New Revision: 319294
URL: https://svnweb.freebsd.org/changeset/base/319294
Log:
Fix "make rebase" after ^/head at r315776
"make rebase" can be used for rebasing the output files from mkimg
after making a change to mkimg. This will come in handy soon, per
bug 219673.
MFC after: 3 days
Sponsored by: Dell EMC Isilon
Modified:
head/usr.bin/mkimg/tests/Makefile
Modified: head/usr.bin/mkimg/tests/Makefile
==============================================================================
--- head/usr.bin/mkimg/tests/Makefile Wed May 31 07:42:14 2017 (r319293)
+++ head/usr.bin/mkimg/tests/Makefile Wed May 31 07:49:49 2017 (r319294)
@@ -4,7 +4,8 @@
PACKAGE= tests
-ATF_TESTS_SH= mkimg_test
+_REBASE_SCRIPT= mkimg_test
+ATF_TESTS_SH= ${_REBASE_SCRIPT}
SOURCES!= cd ${.CURDIR}; echo *.uu
${PACKAGE}FILES+= ${SOURCES:S,.gz.uu,,g}
@@ -16,7 +17,7 @@ $f: $f.gz.uu
CLEANFILES+= ${${PACKAGE}FILES}}
-rebase:
- (cd ${.CURDIR}; atf-sh mkimg.sh rebase)
+rebase: .PHONY
+ (cd ${.CURDIR}; atf-sh ${_REBASE_SCRIPT}.sh rebase)
.include <bsd.test.mk>
More information about the svn-src-head
mailing list