1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-06-15 23:35:50 +00:00
Files
gnulib/modules/spawn-pipe-tests
Bruno Haible b2a583ead5 tests: Use memeq, part 1.
Done through
  sed -e 's/memcmp \([(][^()]*[)]\) == 0/memeq \1/g' \
      -e 's/memcmp \([(][^()]*[(][^()]*[)][^()]*[)]\) == 0/memeq \1/g'

* tests/**/*.[hc]: Use memeq instead of memcmp ... == 0.
* modules/*-tests (Dependencies): Add memeq.
2026-03-01 12:36:28 +01:00

35 lines
1004 B
Plaintext

Files:
tests/test-spawn-pipe.sh
tests/test-spawn-pipe-main.c
tests/test-spawn-pipe-child.c
tests/test-spawn-pipe-script.c
tests/executable-script
tests/executable-script.sh
tests/executable-shell-script
tests/qemu.h
tests/macros.h
Depends-on:
close
msvc-inval
bool
stdint-h
memeq
configure.ac:
Makefile.am:
TESTS += test-spawn-pipe.sh
check_PROGRAMS += test-spawn-pipe-main test-spawn-pipe-child
test_spawn_pipe_main_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
# The test-spawn-pipe-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_spawn_pipe_child_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
test_spawn_pipe_child_LDADD =
TESTS += test-spawn-pipe-script
check_PROGRAMS += test-spawn-pipe-script
test_spawn_pipe_script_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
test_spawn_pipe_script_CPPFLAGS = $(AM_CPPFLAGS) -DSRCDIR=\"$(srcdir)/\"