build-sys: Revert noinst and check programs
Previously there was a commit to change all noinst_PROGRAMS into check_PROGRAMS. This was not a good idea. check_PROGRAMS are built before TESTS are run. However they are NOT build before the dejagnu tests are run, causing those tests to fail. So: If the program is required for dejagnu, it needs to go into noinst_PROGRAMS If the program is required for TESTS or is one of those TESTS, it needs to go into check_PROGRAMS
This commit is contained in:
parent
c1aa5725b2
commit
0705dc8bd9
14
Makefile.am
14
Makefile.am
@ -251,16 +251,16 @@ ps_pscommand_SOURCES = \
|
|||||||
lib/fileutils.c \
|
lib/fileutils.c \
|
||||||
lib/signals.c
|
lib/signals.c
|
||||||
|
|
||||||
|
# Test programs not used by dejagnu but run directly
|
||||||
|
TESTS = \
|
||||||
|
lib/test_strtod_nol
|
||||||
|
check_PROGRAMS = $(TESTS)
|
||||||
|
|
||||||
# Note sure why this is needed but it breaks without it
|
# Test programs required for dejagnu
|
||||||
check: $(check_PROGRAMS)
|
noinst_PROGRAMS = \
|
||||||
|
|
||||||
# lib/test_* binaries
|
|
||||||
check_PROGRAMS = \
|
|
||||||
lib/test_strutils \
|
lib/test_strutils \
|
||||||
lib/test_fileutils \
|
lib/test_fileutils \
|
||||||
lib/test_process \
|
lib/test_process
|
||||||
$(TESTS)
|
|
||||||
|
|
||||||
lib_test_strutils_SOURCES = lib/test_strutils.c lib/strutils.c
|
lib_test_strutils_SOURCES = lib/test_strutils.c lib/strutils.c
|
||||||
lib_test_strutils_LDADD = $(CYGWINFLAGS)
|
lib_test_strutils_LDADD = $(CYGWINFLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user