181
183
## end gnulib module c-ctype-tests
185
## begin gnulib module c-strcase-tests
187
TESTS += test-c-strcase.sh
188
TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
189
check_PROGRAMS += test-c-strcasecmp test-c-strncasecmp
190
EXTRA_DIST += test-c-strcase.sh test-c-strcasecmp.c test-c-strncasecmp.c macros.h
192
## end gnulib module c-strcase-tests
194
## begin gnulib module c-strcasestr-tests
196
TESTS += test-c-strcasestr
197
check_PROGRAMS += test-c-strcasestr
199
EXTRA_DIST += test-c-strcasestr.c macros.h
201
## end gnulib module c-strcasestr-tests
183
203
## begin gnulib module canonicalize-lgpl-tests
185
205
TESTS += test-canonicalize-lgpl
388
472
## end gnulib module listen
474
## begin gnulib module locale
476
BUILT_SOURCES += locale.h
478
# We need the following in order to create <locale.h> when the system
479
# doesn't have one that provides all definitions.
480
locale.h: locale.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
481
$(AM_V_GEN)rm -f $@-t $@ && \
482
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
483
sed -e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
484
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
485
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
486
-e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
487
-e 's|@''GNULIB_SETLOCALE''@|$(GNULIB_SETLOCALE)|g' \
488
-e 's|@''GNULIB_DUPLOCALE''@|$(GNULIB_DUPLOCALE)|g' \
489
-e 's|@''HAVE_DUPLOCALE''@|$(HAVE_DUPLOCALE)|g' \
490
-e 's|@''HAVE_XLOCALE_H''@|$(HAVE_XLOCALE_H)|g' \
491
-e 's|@''REPLACE_SETLOCALE''@|$(REPLACE_SETLOCALE)|g' \
492
-e 's|@''REPLACE_DUPLOCALE''@|$(REPLACE_DUPLOCALE)|g' \
493
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
494
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
495
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
496
< $(srcdir)/locale.in.h; \
499
MOSTLYCLEANFILES += locale.h locale.h-t
501
EXTRA_DIST += locale.in.h
503
## end gnulib module locale
505
## begin gnulib module locale-tests
508
check_PROGRAMS += test-locale
509
EXTRA_DIST += test-locale.c
511
## end gnulib module locale-tests
513
## begin gnulib module localename
515
libtests_a_SOURCES += localename.c
517
EXTRA_DIST += localename.h
519
## end gnulib module localename
521
## begin gnulib module localename-tests
523
TESTS += test-localename
524
check_PROGRAMS += test-localename
525
test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@
527
EXTRA_DIST += test-localename.c macros.h
529
## end gnulib module localename-tests
390
531
## begin gnulib module lock-tests
392
533
TESTS += test-lock
455
596
## end gnulib module netinet_in-tests
598
## begin gnulib module nonblocking-pipe-tests
600
TESTS += test-nonblocking-pipe.sh
601
check_PROGRAMS += test-nonblocking-pipe-main test-nonblocking-pipe-child
602
EXTRA_DIST += test-nonblocking-pipe.sh test-nonblocking-pipe-main.c test-nonblocking-pipe-child.c test-nonblocking-pipe.h test-nonblocking-writer.h test-nonblocking-reader.h test-nonblocking-misc.h macros.h
604
## end gnulib module nonblocking-pipe-tests
606
## begin gnulib module nonblocking-socket-tests
608
TESTS += test-nonblocking-socket.sh
609
check_PROGRAMS += test-nonblocking-socket-main test-nonblocking-socket-child
610
test_nonblocking_socket_main_LDADD = $(LDADD) $(LIBSOCKET)
611
test_nonblocking_socket_child_LDADD = $(LDADD) $(LIBSOCKET)
612
EXTRA_DIST += test-nonblocking-socket.sh test-nonblocking-socket-main.c test-nonblocking-socket-child.c test-nonblocking-socket.h test-nonblocking-writer.h test-nonblocking-reader.h test-nonblocking-misc.h socket-server.h socket-client.h macros.h
614
## end gnulib module nonblocking-socket-tests
616
## begin gnulib module nonblocking-tests
618
TESTS += test-nonblocking
619
check_PROGRAMS += test-nonblocking
620
test_nonblocking_LDADD = $(LDADD) $(LIBSOCKET)
621
EXTRA_DIST += test-nonblocking.c macros.h
623
## end gnulib module nonblocking-tests
457
625
## begin gnulib module open-tests
459
627
TESTS += test-open
479
656
## end gnulib module pipe-posix-tests
481
## begin gnulib module poll-h-tests
484
check_PROGRAMS += test-poll-h
485
EXTRA_DIST += test-poll-h.c
487
## end gnulib module poll-h-tests
489
## begin gnulib module poll-tests
492
check_PROGRAMS += test-poll
493
test_poll_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
494
EXTRA_DIST += signature.h test-poll.c
496
## end gnulib module poll-tests
658
## begin gnulib module pipe2-tests
661
check_PROGRAMS += test-pipe2
662
test_pipe2_LDADD = $(LDADD) $(LIBSOCKET)
663
EXTRA_DIST += test-pipe2.c signature.h macros.h
665
## end gnulib module pipe2-tests
667
## begin gnulib module posix_spawn-internal
670
EXTRA_DIST += spawn_int.h spawni.c
672
EXTRA_libtests_a_SOURCES += spawni.c
674
## end gnulib module posix_spawn-internal
676
## begin gnulib module posix_spawn_file_actions_addclose
679
EXTRA_DIST += spawn_faction_addclose.c spawn_int.h
681
EXTRA_libtests_a_SOURCES += spawn_faction_addclose.c
683
## end gnulib module posix_spawn_file_actions_addclose
685
## begin gnulib module posix_spawn_file_actions_adddup2
688
EXTRA_DIST += spawn_faction_adddup2.c spawn_int.h
690
EXTRA_libtests_a_SOURCES += spawn_faction_adddup2.c
692
## end gnulib module posix_spawn_file_actions_adddup2
694
## begin gnulib module posix_spawn_file_actions_addopen
697
EXTRA_DIST += spawn_faction_addopen.c spawn_int.h
699
EXTRA_libtests_a_SOURCES += spawn_faction_addopen.c
701
## end gnulib module posix_spawn_file_actions_addopen
703
## begin gnulib module posix_spawn_file_actions_destroy
706
EXTRA_DIST += spawn_faction_destroy.c
708
EXTRA_libtests_a_SOURCES += spawn_faction_destroy.c
710
## end gnulib module posix_spawn_file_actions_destroy
712
## begin gnulib module posix_spawn_file_actions_init
715
EXTRA_DIST += spawn_faction_init.c spawn_int.h
717
EXTRA_libtests_a_SOURCES += spawn_faction_init.c
719
## end gnulib module posix_spawn_file_actions_init
721
## begin gnulib module posix_spawnattr_destroy
724
EXTRA_DIST += spawnattr_destroy.c
726
EXTRA_libtests_a_SOURCES += spawnattr_destroy.c
728
## end gnulib module posix_spawnattr_destroy
730
## begin gnulib module posix_spawnattr_init
733
EXTRA_DIST += spawnattr_init.c
735
EXTRA_libtests_a_SOURCES += spawnattr_init.c
737
## end gnulib module posix_spawnattr_init
739
## begin gnulib module posix_spawnattr_setflags
742
EXTRA_DIST += spawnattr_setflags.c
744
EXTRA_libtests_a_SOURCES += spawnattr_setflags.c
746
## end gnulib module posix_spawnattr_setflags
748
## begin gnulib module posix_spawnattr_setsigmask
751
EXTRA_DIST += spawnattr_setsigmask.c
753
EXTRA_libtests_a_SOURCES += spawnattr_setsigmask.c
755
## end gnulib module posix_spawnattr_setsigmask
757
## begin gnulib module posix_spawnp
760
EXTRA_DIST += spawnp.c
762
EXTRA_libtests_a_SOURCES += spawnp.c
764
## end gnulib module posix_spawnp
766
## begin gnulib module posix_spawnp-tests
768
if POSIX_SPAWN_PORTED
769
TESTS += test-posix_spawn1 test-posix_spawn2
770
check_PROGRAMS += test-posix_spawn1 test-posix_spawn2
772
BUILT_SOURCES += test-posix_spawn1.sh
773
test-posix_spawn1.sh: test-posix_spawn1.in.sh
774
$(AM_V_GEN)rm -f $@-t $@ && \
775
cp $(srcdir)/test-posix_spawn1.in.sh $@-t && \
777
MOSTLYCLEANFILES += test-posix_spawn1.sh test-posix_spawn1.sh-t
779
BUILT_SOURCES += test-posix_spawn2.sh
780
test-posix_spawn2.sh: test-posix_spawn2.in.sh
781
$(AM_V_GEN)rm -f $@-t $@ && \
782
cp $(srcdir)/test-posix_spawn2.in.sh $@-t && \
784
MOSTLYCLEANFILES += test-posix_spawn2.sh test-posix_spawn2.sh-t
786
EXTRA_DIST += test-posix_spawn1.c test-posix_spawn1.in.sh test-posix_spawn2.c test-posix_spawn2.in.sh signature.h
788
## end gnulib module posix_spawnp-tests
498
790
## begin gnulib module progname
579
880
## end gnulib module select-tests
882
## begin gnulib module setenv
885
EXTRA_DIST += setenv.c
887
EXTRA_libtests_a_SOURCES += setenv.c
889
## end gnulib module setenv
891
## begin gnulib module setenv-tests
894
check_PROGRAMS += test-setenv
895
EXTRA_DIST += test-setenv.c signature.h macros.h
897
## end gnulib module setenv-tests
899
## begin gnulib module setlocale
902
EXTRA_DIST += setlocale.c
904
EXTRA_libtests_a_SOURCES += setlocale.c
906
## end gnulib module setlocale
908
## begin gnulib module setlocale-tests
910
TESTS += test-setlocale1.sh test-setlocale2.sh
911
TESTS_ENVIRONMENT += \
912
LOCALE_FR='@LOCALE_FR@' \
913
LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
914
LOCALE_JA='@LOCALE_JA@' \
915
LOCALE_ZH_CN='@LOCALE_ZH_CN@'
916
check_PROGRAMS += test-setlocale1 test-setlocale2
917
EXTRA_DIST += test-setlocale1.sh test-setlocale1.c test-setlocale2.sh test-setlocale2.c signature.h macros.h
919
## end gnulib module setlocale-tests
581
921
## begin gnulib module sigaction-tests
583
923
TESTS += test-sigaction
630
970
## end gnulib module sockets-tests
972
## begin gnulib module spawn
974
BUILT_SOURCES += spawn.h
976
# We need the following in order to create a replacement for <spawn.h> when
977
# the system doesn't have one.
978
spawn.h: spawn.in.h $(top_builddir)/config.status $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H)
979
$(AM_V_GEN)rm -f $@-t $@ && \
980
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
981
sed -e 's|@''HAVE_SPAWN_H''@|$(HAVE_SPAWN_H)|g' \
982
-e 's|@''INCLUDE_NEXT''@|$(INCLUDE_NEXT)|g' \
983
-e 's|@''PRAGMA_SYSTEM_HEADER''@|@PRAGMA_SYSTEM_HEADER@|g' \
984
-e 's|@''PRAGMA_COLUMNS''@|@PRAGMA_COLUMNS@|g' \
985
-e 's|@''NEXT_SPAWN_H''@|$(NEXT_SPAWN_H)|g' \
986
-e 's|@''GNULIB_POSIX_SPAWN''@|$(GNULIB_POSIX_SPAWN)|g' \
987
-e 's|@''GNULIB_POSIX_SPAWNP''@|$(GNULIB_POSIX_SPAWNP)|g' \
988
-e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT''@|$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_INIT)|g' \
989
-e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE''@|$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDCLOSE)|g' \
990
-e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2''@|$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2)|g' \
991
-e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN''@|$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_ADDOPEN)|g' \
992
-e 's|@''GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY''@|$(GNULIB_POSIX_SPAWN_FILE_ACTIONS_DESTROY)|g' \
993
-e 's|@''GNULIB_POSIX_SPAWNATTR_INIT''@|$(GNULIB_POSIX_SPAWNATTR_INIT)|g' \
994
-e 's|@''GNULIB_POSIX_SPAWNATTR_GETFLAGS''@|$(GNULIB_POSIX_SPAWNATTR_GETFLAGS)|g' \
995
-e 's|@''GNULIB_POSIX_SPAWNATTR_SETFLAGS''@|$(GNULIB_POSIX_SPAWNATTR_SETFLAGS)|g' \
996
-e 's|@''GNULIB_POSIX_SPAWNATTR_GETPGROUP''@|$(GNULIB_POSIX_SPAWNATTR_GETPGROUP)|g' \
997
-e 's|@''GNULIB_POSIX_SPAWNATTR_SETPGROUP''@|$(GNULIB_POSIX_SPAWNATTR_SETPGROUP)|g' \
998
-e 's|@''GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM''@|$(GNULIB_POSIX_SPAWNATTR_GETSCHEDPARAM)|g' \
999
-e 's|@''GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM''@|$(GNULIB_POSIX_SPAWNATTR_SETSCHEDPARAM)|g' \
1000
-e 's|@''GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY''@|$(GNULIB_POSIX_SPAWNATTR_GETSCHEDPOLICY)|g' \
1001
-e 's|@''GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY''@|$(GNULIB_POSIX_SPAWNATTR_SETSCHEDPOLICY)|g' \
1002
-e 's|@''GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT''@|$(GNULIB_POSIX_SPAWNATTR_GETSIGDEFAULT)|g' \
1003
-e 's|@''GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT''@|$(GNULIB_POSIX_SPAWNATTR_SETSIGDEFAULT)|g' \
1004
-e 's|@''GNULIB_POSIX_SPAWNATTR_GETSIGMASK''@|$(GNULIB_POSIX_SPAWNATTR_GETSIGMASK)|g' \
1005
-e 's|@''GNULIB_POSIX_SPAWNATTR_SETSIGMASK''@|$(GNULIB_POSIX_SPAWNATTR_SETSIGMASK)|g' \
1006
-e 's|@''GNULIB_POSIX_SPAWNATTR_DESTROY''@|$(GNULIB_POSIX_SPAWNATTR_DESTROY)|g' \
1007
-e 's|@''HAVE_POSIX_SPAWN''@|$(HAVE_POSIX_SPAWN)|g' \
1008
-e 's|@''HAVE_POSIX_SPAWNATTR_T''@|$(HAVE_POSIX_SPAWNATTR_T)|g' \
1009
-e 's|@''HAVE_POSIX_SPAWN_FILE_ACTIONS_T''@|$(HAVE_POSIX_SPAWN_FILE_ACTIONS_T)|g' \
1010
-e 's|@''REPLACE_POSIX_SPAWN''@|$(REPLACE_POSIX_SPAWN)|g' \
1011
-e '/definitions of _GL_FUNCDECL_RPL/r $(CXXDEFS_H)' \
1012
-e '/definition of _GL_ARG_NONNULL/r $(ARG_NONNULL_H)' \
1013
-e '/definition of _GL_WARN_ON_USE/r $(WARN_ON_USE_H)' \
1014
< $(srcdir)/spawn.in.h; \
1017
MOSTLYCLEANFILES += spawn.h spawn.h-t
1019
EXTRA_DIST += spawn.in.h
1021
## end gnulib module spawn
1023
## begin gnulib module spawn-tests
1026
check_PROGRAMS += test-spawn
1027
EXTRA_DIST += test-spawn.c
1029
## end gnulib module spawn-tests
632
1031
## begin gnulib module stat-tests
634
1033
TESTS += test-stat
914
1313
## end gnulib module verify-tests
1315
## begin gnulib module vsnprintf
1318
EXTRA_DIST += vsnprintf.c
1320
EXTRA_libtests_a_SOURCES += vsnprintf.c
1322
## end gnulib module vsnprintf
1324
## begin gnulib module vsnprintf-tests
1326
TESTS += test-vsnprintf
1327
check_PROGRAMS += test-vsnprintf
1329
EXTRA_DIST += test-vsnprintf.c signature.h macros.h
1331
## end gnulib module vsnprintf-tests
1333
## begin gnulib module wait-process
1335
libtests_a_SOURCES += wait-process.h wait-process.c
1337
## end gnulib module wait-process
916
1339
## begin gnulib module warn-on-use
918
1341
BUILT_SOURCES += warn-on-use.h