aboutsummaryrefslogtreecommitdiff
path: root/paludis/resolver/Makefile.am
diff options
context:
space:
mode:
authorAvatar Dimitry Ishenko <dimitry.ishenko@gmail.com> 2014-03-15 22:54:07 -0400
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2014-03-21 15:36:44 +0000
commit370cac9e401af4d9038e174f7002a93218525038 (patch)
tree99bb0e2e9a7e3956daef03ea75baa36045f4e53d /paludis/resolver/Makefile.am
parent1050ee7d3bf8cd37663c8506f50e19e2786987ac (diff)
downloadpaludis-370cac9e401af4d9038e174f7002a93218525038.tar.gz
paludis-370cac9e401af4d9038e174f7002a93218525038.tar.xz
Tests for PromoteBinariesHelper
Diffstat (limited to 'paludis/resolver/Makefile.am')
-rw-r--r--paludis/resolver/Makefile.am20
1 files changed, 18 insertions, 2 deletions
diff --git a/paludis/resolver/Makefile.am b/paludis/resolver/Makefile.am
index 60dc4eeb9..b3310ebdd 100644
--- a/paludis/resolver/Makefile.am
+++ b/paludis/resolver/Makefile.am
@@ -201,7 +201,8 @@ TESTS = \
resolver_TEST_uninstalls \
resolver_TEST_fetches \
resolver_TEST_purges \
- resolver_TEST_binaries
+ resolver_TEST_binaries \
+ resolver_TEST_promote_binaries
check_PROGRAMS = $(TESTS)
@@ -217,7 +218,8 @@ check_SCRIPTS = \
resolver_TEST_uninstalls_setup.sh resolver_TEST_uninstalls_cleanup.sh \
resolver_TEST_fetches_setup.sh resolver_TEST_fetches_cleanup.sh \
resolver_TEST_purges_setup.sh resolver_TEST_purges_cleanup.sh \
- resolver_TEST_binaries_setup.sh resolver_TEST_binaries_cleanup.sh
+ resolver_TEST_binaries_setup.sh resolver_TEST_binaries_cleanup.sh \
+ resolver_TEST_promote_binaries_setup.sh resolver_TEST_promote_binaries_cleanup.sh
check_LIBRARIES = libpaludisresolvertest.a
@@ -393,6 +395,20 @@ resolver_TEST_binaries_CXXFLAGS = $(AM_CXXFLAGS) @PALUDIS_CXXFLAGS_NO_DEBUGGING@
resolver_TEST_binaries_LDFLAGS = @GTESTDEPS_LDFLAGS@ @GTESTDEPS_LIBS@
+resolver_TEST_promote_binaries_SOURCES = resolver_TEST_promote_binaries.cc
+
+resolver_TEST_promote_binaries_LDADD = \
+ libpaludisresolvertest.a \
+ $(top_builddir)/paludis/util/gtest_runner.o \
+ $(top_builddir)/paludis/libpaludis_@PALUDIS_PC_SLOT@.la \
+ $(top_builddir)/paludis/util/libpaludisutil_@PALUDIS_PC_SLOT@.la \
+ libpaludisresolver.a \
+ $(DYNAMIC_LD_LIBS)
+
+resolver_TEST_promote_binaries_CXXFLAGS = $(AM_CXXFLAGS) @PALUDIS_CXXFLAGS_NO_DEBUGGING@ @GTESTDEPS_CXXFLAGS@
+
+resolver_TEST_promote_binaries_LDFLAGS = @GTESTDEPS_LDFLAGS@ @GTESTDEPS_LIBS@
+
use_existing-se.hh : use_existing.se $(top_srcdir)/misc/make_se.bash
if ! $(top_srcdir)/misc/make_se.bash --header $(srcdir)/use_existing.se > $@ ; then rm -f $@ ; exit 1 ; fi