summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/tests.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/tests.am b/tests/tests.am
index 2c995b17..4b46c076 100644
--- a/tests/tests.am
+++ b/tests/tests.am
@@ -69,6 +69,7 @@ tracetest_LDADD = $(test_ldadd)
endif
if THREADS
+
TESTS += threadleaktest$(EXEEXT)
check_PROGRAMS += threadleaktest
threadleaktest_SOURCES = tests/thread_leak_test.c
@@ -88,6 +89,7 @@ TESTS += initsecondarythread_test$(EXEEXT)
check_PROGRAMS += initsecondarythread_test
initsecondarythread_test_SOURCES = tests/initsecondarythread.c
initsecondarythread_test_LDADD = $(test_ldadd) $(THREADDLLIBS)
+
endif
if CPLUSPLUS
@@ -102,7 +104,8 @@ endif
endif
if ENABLE_DISCLAIM
-TESTS += disclaim_test
+
+TESTS += disclaim_test$(EXEEXT)
check_PROGRAMS += disclaim_test
disclaim_test_SOURCES = tests/disclaim_test.c
disclaim_test_LDADD = $(test_ldadd)
@@ -110,8 +113,9 @@ if THREADS
disclaim_test_LDADD += $(THREADDLLIBS)
endif
-TESTS += disclaim_bench
+TESTS += disclaim_bench$(EXEEXT)
check_PROGRAMS += disclaim_bench
disclaim_bench_SOURCES = tests/disclaim_bench.c
disclaim_bench_LDADD = $(test_ldadd)
+
endif