From 2ac5f1e9c75aede6464cddfa1296c4ced8822f5e Mon Sep 17 00:00:00 2001 From: Sam James Date: Sun, 23 Jun 2024 01:28:36 +0100 Subject: 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 --- net-print/cups/cups-2.4.7-r2.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'net-print') 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 -- cgit v1.2.3-65-gdbad