From 1c314ef50aa7aa5aba1cc934fb9784597ca36987 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 11 Dec 2006 10:41:13 +0000 Subject: Patch posted to dev listed: 2006-12-08 Jim Meyering Move each test into a script of its own, as Automake requires. * tests/Makefile.am (TESTS): List test script names here, rather than listing rules as dependents of "check". (EXTRA_DIST): Add $(TESTS). (run-unit-tests, run-python-tests): Remove rules, putting their contents in the following new scripts. * tests/run-unit-tests: New one-line script. * tests/run-python-tests: New script, containing the script from Makefile.am. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@485592 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/tests/Makefile.am | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'qpid/cpp/tests/Makefile.am') diff --git a/qpid/cpp/tests/Makefile.am b/qpid/cpp/tests/Makefile.am index 999d53df84..76a3cab946 100644 --- a/qpid/cpp/tests/Makefile.am +++ b/qpid/cpp/tests/Makefile.am @@ -64,17 +64,8 @@ unit_tests = \ noinst_PROGRAMS = $(client_tests) -check: run-unit-tests run-python-tests - -.PHONY: run-unit-tests -run-unit-tests: $(check_LTLIBRARIES) - DllPlugInTester -c -b .libs/*.so - -run-python-tests: $(check_LTLIBRARIES) ../src/qpidd - ../src/qpidd > qpidd.log 2>&1 & pid=$$!; \ - trap 'status=$$?; kill $$pid; exit $$status' 0; \ - trap '(exit $$?); exit $$?' 1 2 13 15; \ - cd ../../python ; ./run-tests -v -I cpp_failing.txt +TESTS = run-unit-tests run-python-tests +EXTRA_DIST += $(TESTS) include gen.mk -- cgit v1.2.1