diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-06-26 12:07:44 -0400 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2012-07-17 15:20:13 +0200 |
commit | c09c5f32d6fc733e4c9f3e1962761ff324c3526a (patch) | |
tree | b2589629153a46f2a381ade783fce93b2b693101 /tests | |
parent | ef5688e1c4916c669f12dee708d07cec416b4e77 (diff) | |
download | elfutils-c09c5f32d6fc733e4c9f3e1962761ff324c3526a.tar.gz |
tests: only compile test programs when running test
The test binaries are only needed by make check, so change the PROGRAMS
category from noinst_ to check_ to speed up default `make && make install`.
If people want to run the tests, then the utilities will be compiled
automatically when they run `make check`, so the normal workflow should
be unchanged.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ChangeLog | 4 | ||||
-rw-r--r-- | tests/Makefile.am | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 9b649173..9d17c7e6 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2012-06-26 Mike Frysinger <vapier@gentoo.org> + + * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS. + 2012-06-26 Mark Wielaard <mjw@redhat.com> * run-macro-test.sh: New test. diff --git a/tests/Makefile.am b/tests/Makefile.am index 39e58ae8..ae9839f1 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -40,7 +40,7 @@ else tests_rpath = no endif -noinst_PROGRAMS = arextract arsymtest newfile saridx scnnames sectiondump \ +check_PROGRAMS = arextract arsymtest newfile saridx scnnames sectiondump \ showptable update1 update2 update3 update4 test-nlist \ show-die-info get-files get-lines get-pubnames \ get-aranges allfcts line2addr addrscopes funcscopes \ @@ -83,12 +83,12 @@ TESTS = run-arextract.sh run-arsymtest.sh newfile test-nlist \ run-macro-test.sh if !STANDALONE -noinst_PROGRAMS += msg_tst md5-sha1-test +check_PROGRAMS += msg_tst md5-sha1-test TESTS += msg_tst md5-sha1-test endif if HAVE_LIBASM -noinst_PROGRAMS += $(asm_TESTS) +check_PROGRAMS += $(asm_TESTS) TESTS += $(asm_TESTS) endif |