commit: 2ac5f1e9c75aede6464cddfa1296c4ced8822f5e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jun 23 00:28:36 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jun 23 00:28:36 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ac5f1e9
net-print/cups: backport test fix to 2.4.7-r2 We can't mkdir twice as it breaks multilib, even though we don't actually run the tests for non-native abi. Signed-off-by: Sam James <sam <AT> gentoo.org> net-print/cups/cups-2.4.7-r2.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net-print/cups/cups-2.4.7-r2.ebuild b/net-print/cups/cups-2.4.7-r2.ebuild index 51ce84608e2e..0da25c8b8850 100644 --- a/net-print/cups/cups-2.4.7-r2.ebuild +++ b/net-print/cups/cups-2.4.7-r2.ebuild @@ -213,13 +213,13 @@ multilib_src_compile() { } multilib_src_test() { - # Avoid using /tmp - export CUPS_TESTBASE="${T}"/cups-tests - - mkdir "${T}"/cups-tests || die - # We only build some of CUPS for multilib, so can't run the tests. if multilib_is_native_abi; then + # Avoid using /tmp + export CUPS_TESTBASE="${T}"/cups-tests + + mkdir "${T}"/cups-tests || die + # avoid building *and running* test binaries in src_compile # https://github.com/OpenPrinting/cups/commit/b1d42061e9286f50eefc851ed906d17c6e80c4b0 emake UNITTESTS=unittests