Page MenuHomeFreeBSD

D49775.diff
No OneTemporary

D49775.diff

diff --git a/share/mk/suite.test.mk b/share/mk/suite.test.mk
--- a/share/mk/suite.test.mk
+++ b/share/mk/suite.test.mk
@@ -114,12 +114,12 @@
@cd ${.CURDIR} && ${MAKE} install \
DESTDIR=${DESTDIR}
-# NOTE: this is intentional to ensure that "make check" can be run multiple
-# times. "aftercheck" won't be run if "make check" fails, is interrupted,
-# etc.
+# NOTE: "aftercheck" is a separate target so that it will not clean
+# DESTDIR if "make check" fails, is interrupted, etc. This lets the
+# developer inspect DESTDIR if needed.
aftercheck:
- @cd ${.CURDIR} && ${MAKE} clean
@test ! -e ${DESTDIR} || chflags -R 0 "${DESTDIR}"
+ @cd ${.CURDIR} && ${MAKE} clean
@rm -Rf "${DESTDIR}"
.endif

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 9, 1:45 PM (3 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28585867
Default Alt Text
D49775.diff (736 B)

Event Timeline