From c09c5f32d6fc733e4c9f3e1962761ff324c3526a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 26 Jun 2012 12:07:44 -0400 Subject: [PATCH] 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 Signed-off-by: Mark Wielaard --- tests/ChangeLog | 4 ++++ tests/Makefile.am | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/ChangeLog b/tests/ChangeLog index 9b649173e..9d17c7e66 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2012-06-26 Mike Frysinger + + * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS. + 2012-06-26 Mark Wielaard * run-macro-test.sh: New test. diff --git a/tests/Makefile.am b/tests/Makefile.am index 39e58ae86..ae9839f10 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 -- 2.47.3