Hash :
8fb3a827
Author :
Date :
2021-08-25T12:43:56
execute tests: Fix test failure when libtool is in use. * modules/execute-tests (Makefile.am): Link test-execute-child without using libtool. * modules/spawn-pipe-tests (Makefile.am): Link test-spawn-pipe-child without using libtool. * modules/system-quote-tests (Makefile.am): Link test-system-quote-child without using libtool.
Status:
longrunning-test
Files:
tests/test-system-quote.sh
tests/test-system-quote-main.c
tests/test-system-quote-child.c
tests/macros.h
Depends-on:
stdbool
unistd
popen
pclose
configure.ac:
Makefile.am:
TESTS += test-system-quote.sh
check_PROGRAMS += test-system-quote-main test-system-quote-child
test_system_quote_main_LDADD = $(LDADD) @LIBINTL@ $(LIB_MBRTOWC)
# The test-system-quote-child program must be a real executable, not a libtool
# wrapper script, and should link against as few libraries as possible.
# Therefore don't link it against any libraries other than -lc.
test_system_quote_child_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
test_system_quote_child_LDADD =