From 02c036d9684fc3a326577d2aaeaf956690ea8816 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 4 Jan 2008 15:42:34 +0000 Subject: Makefile.am: added check-long target to run perftest scenarios. Not run as part of normal check target. Takes about 5 minutes to run on an amd-32 optimized build. For a longer run, increase PERFTEST_MULT in run_perftest. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@608892 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/Makefile.am | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'cpp/src/tests/Makefile.am') diff --git a/cpp/src/tests/Makefile.am b/cpp/src/tests/Makefile.am index 265e2c3858..13de836d2c 100644 --- a/cpp/src/tests/Makefile.am +++ b/cpp/src/tests/Makefile.am @@ -53,7 +53,7 @@ perftest_LDADD=$(lib_client) # NB: CppUnit test libraries below will be migrated to boost test programs. # -# Unit tests +# cppunit tests broker_unit_tests = \ AccumulatedAckTest \ DtxWorkRecordTest \ @@ -144,9 +144,6 @@ gen.mk: Makefile.am > $@-t mv $@-t $@ -check-unit: - $(MAKE) check TESTS=$(UNIT_TESTS) run-unit-tests - CLEANFILES+=valgrind.out *.log *.vglog dummy_test $(unit_wrappers) MAINTAINERCLEANFILES=gen.mk @@ -161,3 +158,10 @@ interop_runner_SOURCES = \ TestCase.h \ TestOptions.h interop_runner_LDADD = $(lib_client) $(lib_common) $(extra_libs) + +# Longer running stability tests, not run by default check: target. +# Not run under valgrind, too slow +LONG_TESTS=fanout_perftest shared_perftest multiq_perftest topic_perftest +EXTRA_DIST+=$(LONG_TESTS) run_perftest +check-long: + $(MAKE) check TESTS="start_broker $(LONG_TESTS) stop_broker" VALGRIND= -- cgit v1.2.1