]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
tests: use check_PROGRAMS
authorMike Frysinger <vapier@chromium.org>
Mon, 12 Oct 2015 21:57:27 +0000 (17:57 -0400)
committerDaiki Ueno <ueno@gnu.org>
Wed, 14 Oct 2015 06:03:58 +0000 (15:03 +0900)
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

index 47340128dbc4cd42f865d2481bd86a977d6114e0..00859949a004744294b8b2487946fb5983677677 100644 (file)
@@ -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@