From b9ce320cc0edd6fccd9c141214bd3ecf4385f6c6 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 2 Mar 2017 02:03:11 +0300 Subject: [PATCH] Fix missing .exe for disclaim test filenames in Makefile (MinGW) (fix commit 6c1a924) Also add 4 blank lines to improve tests.am readability. * tests/tests.am [ENABLE_DISCLAIM] (TESTS): Add $(EXEEXT) suffix to disclaim_test, disclaim_bench. --- tests/tests.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/tests.am b/tests/tests.am index 131d4e9a..66f69b87 100644 --- a/tests/tests.am +++ b/tests/tests.am @@ -71,6 +71,7 @@ tracetest_LDADD = $(test_ldadd) endif if THREADS + TESTS += threadleaktest$(EXEEXT) check_PROGRAMS += threadleaktest threadleaktest_SOURCES = tests/thread_leak_test.c @@ -90,6 +91,7 @@ TESTS += initsecondarythread_test$(EXEEXT) check_PROGRAMS += initsecondarythread_test initsecondarythread_test_SOURCES = tests/initsecondarythread.c initsecondarythread_test_LDADD = $(test_ldadd) $(THREADDLLIBS) + endif if CPLUSPLUS @@ -104,7 +106,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) @@ -112,8 +115,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 -- 2.40.0