X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Finclude.am;h=8063be75cb15909498fe36d612b5b6cdf27d4bbf;hb=26f4a2a69a448fbda346b7bec93b6bd1d825e12b;hp=defca32bef8da810d8674574ee63af2c77594190;hpb=5deca7af238185cfb53be80909b45ed807282b26;p=m6w6%2Flibmemcached diff --git a/tests/include.am b/tests/include.am index defca32b..8063be75 100644 --- a/tests/include.am +++ b/tests/include.am @@ -20,12 +20,13 @@ PAHOLE_COMMAND= $(LIBTOOL) --mode=execute pahole EXTRA_DIST+= tests/cpp_example.cc noinst_HEADERS+= tests/exist.h -noinst_HEADERS+= tests/keys.hpp noinst_HEADERS+= tests/hash_results.h +noinst_HEADERS+= tests/keys.hpp +noinst_HEADERS+= tests/libmemcached_test_container.h noinst_HEADERS+= tests/libmemcached_world.h noinst_HEADERS+= tests/libmemcached_world_socket.h +noinst_HEADERS+= tests/memc.h noinst_HEADERS+= tests/runner.h -noinst_HEADERS+= tests/libmemcached_test_container.h # Cycle should always run first tests_cycle_CFLAGS= $(AM_CFLAGS) $(NO_CONVERSION) $(NO_STRICT_ALIASING) @@ -40,6 +41,8 @@ noinst_PROGRAMS+= tests/cycle include tests/libmemcached-1.0/include.am +include tests/parser.am + tests_failure_SOURCES= tests_failure_SOURCES+= tests/failure.cc tests_failure_SOURCES+= clients/execute.cc @@ -47,6 +50,7 @@ tests_failure_SOURCES+= clients/generator.cc tests_failure_SOURCES+= tests/libmemcached-1.0/callback_counter.cc tests_failure_SOURCES+= tests/libmemcached-1.0/fetch_all_results.cc tests_failure_SOURCES+= tests/libmemcached-1.0/generate.cc +tests_failure_SOURCES+= tests/libmemcached-1.0/print.cc tests_failure_CXXFLAGS = $(AM_CXXFLAGS) tests_failure_DEPENDENCIES= $(TESTS_LDADDS) @@ -54,12 +58,23 @@ tests_failure_LDADD= $(tests_failure_DEPENDENCIES) check_PROGRAMS+= tests/failure noinst_PROGRAMS+= tests/failure -tests_testhashkit_SOURCES = tests/hashkit_functions.cc -tests_testhashkit_DEPENDENCIES = libtest/libtest.la libhashkit/libhashkit.la $(TESTS_LDADDS) -tests_testhashkit_LDADD = $(tests_testhashkit_DEPENDENCIES) +test-failure: tests/failure + @tests/failure + +gdb-failure: tests/failure + @$(DEBUG_COMMAND) tests/failure + + +tests_testhashkit_SOURCES= tests/hashkit_functions.cc +tests_testhashkit_DEPENDENCIES= libtest/libtest.la libhashkit/libhashkit.la $(TESTS_LDADDS) +tests_testhashkit_LDADD= $(tests_testhashkit_DEPENDENCIES) check_PROGRAMS+= tests/testhashkit noinst_PROGRAMS+= tests/testhashkit +test-hash: tests/testhashkit + @tests/testhashkit + + tests_hash_plus_SOURCES= tests/hash_plus.cc tests_hash_plus_CXXFLAGS= $(AM_CXXFLAGS) $(NO_EFF_CXX) tests_hash_plus_DEPENDENCIES= $(tests_testhashkit_DEPENDENCIES) @@ -86,9 +101,6 @@ test-atom: tests/atomsmasher test-plus: tests/testplus @tests/testplus -test-hash: tests/testhashkit - @tests/testhashkit - test-hashplus: tests/hash_plus @tests/hash_plus @@ -122,9 +134,6 @@ gdb-hashplus: tests/hash_plus gdb-cycle: tests/cycle @$(DEBUG_COMMAND) tests/cycle -gdb-failure: tests/failure - @$(DEBUG_COMMAND) tests/failure - valgrind-cycle: tests/cycle $(VALGRIND_COMMAND) tests/cycle