summaryrefslogtreecommitdiff
path: root/cpp/src/tests/Makefile.am
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-01-04 15:42:34 +0000
committerAlan Conway <aconway@apache.org>2008-01-04 15:42:34 +0000
commit02c036d9684fc3a326577d2aaeaf956690ea8816 (patch)
tree4fd681f4bc020bbf6100b806d3e2c2b4305831de /cpp/src/tests/Makefile.am
parentd8545c401bf6af7f7ba732692ada6fb212bdece3 (diff)
downloadqpid-python-02c036d9684fc3a326577d2aaeaf956690ea8816.tar.gz
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
Diffstat (limited to 'cpp/src/tests/Makefile.am')
-rw-r--r--cpp/src/tests/Makefile.am12
1 files changed, 8 insertions, 4 deletions
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=