X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Finclude.am;h=8063be75cb15909498fe36d612b5b6cdf27d4bbf;hb=3cb9664414f4f5ace8dad227f5714ea412368126;hp=a53f45be20479e5bf5215d2d3a5a30d2a94832ca;hpb=fe4757c512265eef4f8905b3392f19d33c436ddf;p=m6w6%2Flibmemcached diff --git a/tests/include.am b/tests/include.am index a53f45be..8063be75 100644 --- a/tests/include.am +++ b/tests/include.am @@ -41,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 @@ -48,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) @@ -55,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) @@ -87,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 @@ -123,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