From 6f4e6aab6b664cd33eab00e8ffd39de21dff9862 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 12 Mar 2015 22:15:05 +0100 Subject: [PATCH] fix make distcheck --- test/Makefile.am | 14 ++++++++++++-- test/testCampaignAll | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/test/Makefile.am b/test/Makefile.am index 706b7f4..cbb490a 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,5 +1,15 @@ SUBDIRS = bin -TESTS = testCampaignAll +testCampaignAll-exec: $(srcdir)/testCampaignAll $(srcdir)/testCampaign + cp -f $(srcdir)/testCampaignAll testCampaignAll-exec + cp -f $(srcdir)/testCampaign testCampaign-exec -EXTRA_DIST=testCampaignAll + +TESTS = testCampaignAll-exec + +EXTRA_DIST=testCampaignAll testCampaign + +CLEANFILES=testCampaignAll-exec testCampaign-exec + +clean-local: + rm -rf patterns diff --git a/test/testCampaignAll b/test/testCampaignAll index dc9473b..e72eab7 100755 --- a/test/testCampaignAll +++ b/test/testCampaignAll @@ -29,4 +29,4 @@ if [ ! -d "patterns" ]; then fi # run all the tests -./testCampaign all +./testCampaign-exec all