]> granicus.if.org Git - gc/commitdiff
Fix missing .exe for disclaim test filenames in Makefile (MinGW)
authorIvan Maidanski <ivmai@mail.ru>
Wed, 1 Mar 2017 23:03:11 +0000 (02:03 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Fri, 7 Apr 2017 15:39:19 +0000 (18:39 +0300)
(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

index 131d4e9ab94bcda72bd390470ff70b3f67d6d8b1..66f69b8715d1bbdbb546b64284cc426ad7a8c157 100644 (file)
@@ -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