bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gettext] [PATCH] tests: use check_PROGRAMS


From: Mike Frysinger
Subject: [bug-gettext] [PATCH] tests: use check_PROGRAMS
Date: Mon, 12 Oct 2015 17:57:27 -0400

From: Mike Frysinger <address@hidden>

The noinst_xxx targets will be compiled all the time.  For test programs,
the check_xxx targets make more sense as they'll only be built when the
user runs `make check`.

* gettext-runtime/tests/Makefile.am (noinst_PROGRAMS): Rename to ...
(check_PROGRAMS): ... this.
---
 gettext-runtime/tests/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gettext-runtime/tests/Makefile.am 
b/gettext-runtime/tests/Makefile.am
index 4734012..0085994 100644
--- a/gettext-runtime/tests/Makefile.am
+++ b/gettext-runtime/tests/Makefile.am
@@ -26,7 +26,7 @@ AM_CPPFLAGS = \
   -I.. \
   -I$(srcdir)/../intl
 
-noinst_PROGRAMS = test-lock
+check_PROGRAMS = test-lock
 test_lock_SOURCES = test-lock.c ../intl/lock.c ../intl/threadlib.c
 test_lock_LDADD = @LIBMULTITHREAD@ @LIBSCHED@
 
-- 
2.5.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]