diff options
author | Sam James <sam@gentoo.org> | 2024-06-23 01:28:36 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-06-23 01:28:36 +0100 |
commit | 2ac5f1e9c75aede6464cddfa1296c4ced8822f5e (patch) | |
tree | 3a11817e6817f4f967ff97ae0d3d2f217afe52ee /net-print | |
parent | net-print/cups: add 2.4.10 (diff) | |
download | gentoo-2ac5f1e9c75aede6464cddfa1296c4ced8822f5e.tar.gz gentoo-2ac5f1e9c75aede6464cddfa1296c4ced8822f5e.tar.bz2 gentoo-2ac5f1e9c75aede6464cddfa1296c4ced8822f5e.zip |
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@gentoo.org>
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/cups/cups-2.4.7-r2.ebuild | 10 |
1 files 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 |