X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fbenchmark%2FMakefile.am;h=2b2e6a746ebbaa3a6d54a5687cc3e076ef9328ad;hb=5d70f61ed01d58bb51c86719c8c64abed85a3c12;hp=1c3e443f9d3d7298a489f77fd5603b10ea36cb59;hpb=ad46005890368f9c306f0c510b3d4b08c47b66f8;p=userspace-rcu.git diff --git a/tests/benchmark/Makefile.am b/tests/benchmark/Makefile.am index 1c3e443..2b2e6a7 100644 --- a/tests/benchmark/Makefile.am +++ b/tests/benchmark/Makefile.am @@ -1,9 +1,10 @@ if !LIBC_INCLUDES_PTHREAD AM_LDFLAGS=-lpthread endif -AM_CFLAGS=-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/tests/common -g +AM_CFLAGS+=-I$(top_srcdir) -I$(top_builddir) -I$(top_srcdir)/tests/common -g SCRIPT_LIST = common.sh \ + run.sh \ run-urcu-tests.sh \ runhash.sh \ runtests.sh \ @@ -19,6 +20,12 @@ SCRIPT_LIST = common.sh \ dist_noinst_SCRIPTS = $(SCRIPT_LIST) +TEST_LIST = regression_tests \ + short_bench_tests \ + long_bench_tests + +dist_noinst_DATA = $(TEST_LIST) + noinst_PROGRAMS = test_urcu test_urcu_dynamic_link test_urcu_timing \ test_urcu_signal test_urcu_signal_dynamic_link test_urcu_signal_timing \ test_rwlock_timing test_rwlock test_perthreadlock_timing \ @@ -210,14 +217,14 @@ test_urcu_hash_LDADD = $(URCU_QSBR_LIB) $(URCU_COMMON_LIB) $(URCU_CDS_LIB) all-local: @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(SCRIPT_LIST); do \ + for script in $(SCRIPT_LIST) $(TEST_LIST); do \ cp -f $(srcdir)/$$script $(builddir); \ done; \ fi clean-local: @if [ x"$(srcdir)" != x"$(builddir)" ]; then \ - for script in $(SCRIPT_LIST); do \ + for script in $(SCRIPT_LIST) $(TEST_LIST); do \ rm -f $(builddir)/$$script; \ done; \ fi