Date: Tue, 19 Jul 2016 21:47:55 +0000 (UTC) From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r418815 - head/sysutils/e2fsprogs Message-ID: <201607192147.u6JLlt96081237@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mandree Date: Tue Jul 19 21:47:55 2016 New Revision: 418815 URL: https://svnweb.freebsd.org/changeset/ports/418815 Log: Mark BROKEN on FreeBSD 11+ due to self-test failures. Be sure not to run tests under NOTESTS. Modified: head/sysutils/e2fsprogs/Makefile Modified: head/sysutils/e2fsprogs/Makefile ============================================================================== --- head/sysutils/e2fsprogs/Makefile Tue Jul 19 21:17:20 2016 (r418814) +++ head/sysutils/e2fsprogs/Makefile Tue Jul 19 21:47:55 2016 (r418815) @@ -126,6 +126,17 @@ post-patch:: u_mke2fs_opt_offset @${MV} ${WRKSRC}/tests/${i} ${WRKSRC}/tests/disabled_test-${i} .endfor +# m_rootdir behaves erratically on 9.x and fails randomly, +# but may succeed when run again. Disable for now. +.if ${OSVERSION} < 1000000 +.for i in m_rootdir + @${MV} ${WRKSRC}/tests/${i} ${WRKSRC}/tests/disabled_test-${i} +.endfor +.endif +.endif + +.if ${OSVERSION} > 1100000 +BROKEN=self-test failures on FreeBSD 11+ hint to data corruption issues. .endif .if ${MASTERDIR} == ${.CURDIR} @@ -178,11 +189,15 @@ post-build: # test on each and every system and not just package building hosts. # There have been subtle failures induced by Linux-isms in the past. # -- Matthias Andree, package maintainer, 2007-09-18 +.if empty(PORT_OPTIONS:MNOTESTS) @${ECHO_CMD} '===> Running e2fsprogs self-test suite' # do not add -j options unconditionally to ${MAKE_CMD} below, this might break # due to excessive disk space use. cd ${WRKSRC}/tests && ${MKDIR} ${WRKDIR}/tmp && ${MAKE_CMD} check ${_CHECK_JOBS} ${_checkaddargs} \ || { head -n30000 ${WRKSRC}/tests/*.failed 2>/dev/null ; exit 1 ; } +.else + @${ECHO_CMD} '===> SKIPPING e2fsprogs self-test suite (DISCOURAGED!)' +.endif post-install: ${RM} -f ${STAGEDIR}${PREFIX}/sbin/uuidd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607192147.u6JLlt96081237>