Page MenuHomeFreeBSD

D49775.1796004627.diff
No OneTemporary

Authored By
Unknown
Size
736 B
Referenced Files
None
Subscribers
None

D49775.1796004627.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, Nov 30, 2:10 AM (21 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42099187
Default Alt Text
D49775.1796004627.diff (736 B)

Event Timeline