diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2015-10-10 13:16:57 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2015-10-10 13:16:57 +0000 |
commit | f344033666d8afaae53698541fd265f9acc22b34 (patch) | |
tree | ef8a29e78ca888a42910e761f59a69d0a6856b3c | |
parent | Mathematical subprogram libraries for Fortran 77. (diff) |
devel/android-tools-adb: unbreak TEST=on more reliably
/dev/full is only provided by default on 11.0, earlier releases have it
in lindev(4). This leads to the same error as with automation. Other BSDs
including DragonFly don't provide /dev/full at all.
[ RUN ] io.WriteFdExactly_ENOSPC
adb_io_test.cpp:136: Failure
Expected: (-1) != (fd), actual: -1 vs -1
[ FAILED ] io.WriteFdExactly_ENOSPC (1 ms)
Reported by: Barbara <barbara.freebsd@gmail.com>
-rw-r--r-- | devel/android-tools-adb/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/android-tools-adb/Makefile b/devel/android-tools-adb/Makefile index 83350790ad4c..783ee88e2925 100644 --- a/devel/android-tools-adb/Makefile +++ b/devel/android-tools-adb/Makefile @@ -63,11 +63,11 @@ post-patch: s/ (LOG|PLOG|UNIMPLEMENTED)/ DISABLED_\1/' \ ${WRKSRC}/base/logging_test.cpp; \ fi -.if defined(PACKAGE_BUILDING) -# XXX /dev/full isn't mounted by poudriere/tinderbox - @${REINPLACE_CMD} -e '/^TEST/s/[^ ]*ENOSPC/DISABLED_&/' \ - ${WRKSRC}/adb/adb_io_test.cpp -.endif +# XXX Hidden by poudriere/tinderbox, see lindev(4) for FreeBSD < 11.0 + @if [ ! -e /dev/full ]; then \ + ${REINPLACE_CMD} -e '/^TEST/s/[^ ]*ENOSPC/DISABLED_&/' \ + ${WRKSRC}/adb/adb_io_test.cpp; \ + fi post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M%%BASH%%*:C/%%.*%%//:H} |