mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user