diff options
author | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-11-16 13:42:21 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2016-11-17 13:33:31 +0200 |
commit | aa51a833eb9b3d8fb58a64ff685b249d65ec35b5 (patch) | |
tree | bedc93d0911f7ef8372475b5aea62dbe07e5508a | |
parent | 06b7c471b7de2e0d9852af60514594417b29d4e3 (diff) |
Makefile: build also test programs during a normal build
Put also test programs into noinst_PROGRAMS so that they get always
built. In check_PROGRAMS they are built for 'make check' but not for
'make'.
This makes it harder to accidentally break the test programs.
v2: also change check_LTLIBRARIES to noinst_LTLIBRARIES
Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
-rw-r--r-- | Makefile.am | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index d35231c..eea5aae 100644 --- a/Makefile.am +++ b/Makefile.am @@ -170,14 +170,12 @@ endif TESTS = $(built_test_programs) -check_PROGRAMS = \ - $(built_test_programs) \ - exec-fd-leak-checker - noinst_PROGRAMS = \ + $(built_test_programs) \ + exec-fd-leak-checker \ fixed-benchmark -check_LTLIBRARIES = libtest-runner.la +noinst_LTLIBRARIES += libtest-runner.la libtest_runner_la_SOURCES = \ tests/test-runner.c \ |