aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2014-03-22 16:13:20 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2014-03-22 16:13:20 +0000
commit2ddd1275fb62e7bc965c07fc96981fce7ae747d9 (patch)
treed5ede64ac90411ae27dc9f949ba38e18567042e9
parent370cac9e401af4d9038e174f7002a93218525038 (diff)
downloadpaludis-2ddd1275fb62e7bc965c07fc96981fce7ae747d9.tar.gz
paludis-2ddd1275fb62e7bc965c07fc96981fce7ae747d9.tar.xz
Don't run promote_binaries test without pbins
-rw-r--r--paludis/resolver/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/paludis/resolver/Makefile.am b/paludis/resolver/Makefile.am
index b3310eb..c41f07f 100644
--- a/paludis/resolver/Makefile.am
+++ b/paludis/resolver/Makefile.am
@@ -10,7 +10,9 @@ DISTCLEANFILES = \
promote_binaries-se.hh promote_binaries-se.cc \
resolver_functions-se.hh resolver_functions-se.cc \ \
use_existing-se.hh use_existing-se.cc
+
AM_CXXFLAGS = -I$(top_srcdir) @PALUDIS_CXXFLAGS@ @PALUDIS_CXXFLAGS_VISIBILITY@
+
EXTRA_DIST = \
any_child_score-se.hh any_child_score-se.cc any_child_score.se \
change_type-se.hh change_type-se.cc change_type.se \
@@ -22,6 +24,7 @@ EXTRA_DIST = \
resolver_functions-se.hh resolver_functions-se.cc resolver_functions.se \
use_existing-se.hh use_existing-se.cc use_existing.se \
$(check_SCRIPTS)
+
BUILT_SOURCES = \
any_child_score-se.hh any_child_score-se.cc \
change_type-se.hh change_type-se.cc \
@@ -202,7 +205,11 @@ TESTS = \
resolver_TEST_fetches \
resolver_TEST_purges \
resolver_TEST_binaries \
- resolver_TEST_promote_binaries
+ $(if_pbin_TESTS)
+
+if ENABLE_PBINS
+if_pbin_TESTS = resolver_TEST_promote_binaries
+endif
check_PROGRAMS = $(TESTS)