1## DO NOT EDIT! GENERATED AUTOMATICALLY!
2## Process this file with automake to produce Makefile.in.
3# Copyright (C) 2002-2018 Free Software Foundation, Inc.
4#
5# This file is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 3 of the License, or
8# (at your option) any later version.
9#
10# This file is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13# GNU General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this file.  If not, see <https://www.gnu.org/licenses/>.
17#
18# As a special exception to the GNU General Public License,
19# this file may be distributed as part of a program that
20# contains a configuration script generated by Autoconf, under
21# the same distribution terms as the rest of that program.
22#
23# Generated by gnulib-tool.
24
25AUTOMAKE_OPTIONS = 1.9.6 foreign subdir-objects
26
27SUBDIRS = .
28TESTS =
29XFAIL_TESTS =
30TESTS_ENVIRONMENT =
31noinst_PROGRAMS =
32check_PROGRAMS =
33EXTRA_PROGRAMS =
34noinst_HEADERS =
35noinst_LIBRARIES =
36check_LIBRARIES = libtests.a
37EXTRA_DIST =
38BUILT_SOURCES =
39SUFFIXES =
40MOSTLYCLEANFILES = core *.stackdump
41MOSTLYCLEANDIRS =
42CLEANFILES =
43DISTCLEANFILES =
44MAINTAINERCLEANFILES =
45
46AM_CPPFLAGS = \
47  -D@gltests_WITNESS@=1 \
48  -I. -I$(srcdir) \
49  -I.. -I$(srcdir)/.. \
50  -I../lib -I$(srcdir)/../lib
51
52LDADD = libtests.a ../lib/libcoreutils.a libtests.a $(LIBTESTS_LIBDEPS)
53
54libtests_a_SOURCES =
55libtests_a_LIBADD = $(gltests_LIBOBJS)
56libtests_a_DEPENDENCIES = $(gltests_LIBOBJS)
57EXTRA_libtests_a_SOURCES =
58AM_LIBTOOLFLAGS = --preserve-dup-deps
59
60TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@' srcdir='$(srcdir)'
61
62## begin gnulib module accept
63
64
65EXTRA_DIST += accept.c w32sock.h
66
67EXTRA_libtests_a_SOURCES += accept.c
68
69## end   gnulib module accept
70
71## begin gnulib module accept-tests
72
73TESTS += test-accept
74check_PROGRAMS += test-accept
75test_accept_LDADD = $(LDADD) @LIBSOCKET@
76EXTRA_DIST += test-accept.c signature.h macros.h
77
78## end   gnulib module accept-tests
79
80## begin gnulib module acl-tests
81
82TESTS += \
83  test-set-mode-acl.sh test-set-mode-acl-1.sh test-set-mode-acl-2.sh \
84  test-copy-acl.sh test-copy-acl-1.sh test-copy-acl-2.sh
85TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL)
86check_PROGRAMS += test-set-mode-acl test-copy-acl test-sameacls
87test_set_mode_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
88test_copy_acl_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
89test_sameacls_LDADD = $(LDADD) $(LIB_ACL) @LIBINTL@
90EXTRA_DIST += test-set-mode-acl.sh test-set-mode-acl-1.sh test-set-mode-acl-2.sh test-copy-acl.sh test-copy-acl-1.sh test-copy-acl-2.sh test-set-mode-acl.c test-copy-acl.c test-sameacls.c macros.h
91
92## end   gnulib module acl-tests
93
94## begin gnulib module alignof-tests
95
96TESTS += test-alignof
97check_PROGRAMS += test-alignof
98
99EXTRA_DIST += test-alignof.c
100
101## end   gnulib module alignof-tests
102
103## begin gnulib module alloca-opt-tests
104
105TESTS += test-alloca-opt
106check_PROGRAMS += test-alloca-opt
107
108EXTRA_DIST += test-alloca-opt.c
109
110## end   gnulib module alloca-opt-tests
111
112## begin gnulib module areadlink-tests
113
114TESTS += test-areadlink
115check_PROGRAMS += test-areadlink
116EXTRA_DIST += test-areadlink.h test-areadlink.c macros.h
117
118## end   gnulib module areadlink-tests
119
120## begin gnulib module areadlink-with-size-tests
121
122TESTS += test-areadlink-with-size
123check_PROGRAMS += test-areadlink-with-size
124EXTRA_DIST += test-areadlink.h test-areadlink-with-size.c macros.h
125
126## end   gnulib module areadlink-with-size-tests
127
128## begin gnulib module areadlinkat-tests
129
130TESTS += test-areadlinkat
131check_PROGRAMS += test-areadlinkat
132test_areadlinkat_LDADD = $(LDADD) @LIBINTL@
133EXTRA_DIST += test-areadlink.h test-areadlinkat.c macros.h
134
135## end   gnulib module areadlinkat-tests
136
137## begin gnulib module argmatch-tests
138
139TESTS += test-argmatch
140check_PROGRAMS += test-argmatch
141test_argmatch_LDADD = $(LDADD) @LIBINTL@
142
143EXTRA_DIST += test-argmatch.c macros.h
144
145## end   gnulib module argmatch-tests
146
147## begin gnulib module argv-iter-tests
148
149TESTS += test-argv-iter
150check_PROGRAMS += test-argv-iter
151EXTRA_DIST += test-argv-iter.c macros.h
152
153## end   gnulib module argv-iter-tests
154
155## begin gnulib module arpa_inet-tests
156
157TESTS += test-arpa_inet
158check_PROGRAMS += test-arpa_inet
159EXTRA_DIST += test-arpa_inet.c
160
161## end   gnulib module arpa_inet-tests
162
163## begin gnulib module base32-tests
164
165TESTS += test-base32
166check_PROGRAMS += test-base32
167EXTRA_DIST += test-base32.c macros.h
168
169## end   gnulib module base32-tests
170
171## begin gnulib module base64-tests
172
173TESTS += test-base64
174check_PROGRAMS += test-base64
175EXTRA_DIST += test-base64.c macros.h
176
177## end   gnulib module base64-tests
178
179## begin gnulib module binary-io-tests
180
181TESTS += test-binary-io.sh
182check_PROGRAMS += test-binary-io
183
184EXTRA_DIST += test-binary-io.sh test-binary-io.c macros.h
185
186## end   gnulib module binary-io-tests
187
188## begin gnulib module bind
189
190
191EXTRA_DIST += bind.c w32sock.h
192
193EXTRA_libtests_a_SOURCES += bind.c
194
195## end   gnulib module bind
196
197## begin gnulib module bind-tests
198
199TESTS += test-bind
200check_PROGRAMS += test-bind
201test_bind_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
202EXTRA_DIST += test-bind.c signature.h macros.h
203
204## end   gnulib module bind-tests
205
206## begin gnulib module bitrotate-tests
207
208TESTS += test-bitrotate
209check_PROGRAMS += test-bitrotate
210EXTRA_DIST += test-bitrotate.c macros.h
211
212## end   gnulib module bitrotate-tests
213
214## begin gnulib module btowc-tests
215
216TESTS += test-btowc1.sh test-btowc2.sh
217TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
218check_PROGRAMS += test-btowc
219
220EXTRA_DIST += test-btowc1.sh test-btowc2.sh test-btowc.c signature.h macros.h
221
222## end   gnulib module btowc-tests
223
224## begin gnulib module byteswap-tests
225
226TESTS += test-byteswap
227check_PROGRAMS += test-byteswap
228EXTRA_DIST += test-byteswap.c macros.h
229
230## end   gnulib module byteswap-tests
231
232## begin gnulib module c-ctype-tests
233
234TESTS += test-c-ctype
235check_PROGRAMS += test-c-ctype
236EXTRA_DIST += test-c-ctype.c macros.h
237
238## end   gnulib module c-ctype-tests
239
240## begin gnulib module c-strcase-tests
241
242TESTS += test-c-strcase.sh
243TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
244check_PROGRAMS += test-c-strcasecmp test-c-strncasecmp
245EXTRA_DIST += test-c-strcase.sh test-c-strcasecmp.c test-c-strncasecmp.c macros.h
246
247## end   gnulib module c-strcase-tests
248
249## begin gnulib module calloc-gnu-tests
250
251TESTS += test-calloc-gnu
252check_PROGRAMS += test-calloc-gnu
253EXTRA_DIST += test-calloc-gnu.c
254
255## end   gnulib module calloc-gnu-tests
256
257## begin gnulib module canonicalize-tests
258
259TESTS += test-canonicalize
260check_PROGRAMS += test-canonicalize
261test_canonicalize_LDADD = $(LDADD) @LIBINTL@
262EXTRA_DIST += test-canonicalize.c null-ptr.h macros.h
263
264## end   gnulib module canonicalize-tests
265
266## begin gnulib module chdir-tests
267
268TESTS += test-chdir
269check_PROGRAMS += test-chdir
270EXTRA_DIST += test-chdir.c signature.h macros.h
271
272## end   gnulib module chdir-tests
273
274## begin gnulib module chown-tests
275
276TESTS += test-chown
277check_PROGRAMS += test-chown
278test_chown_LDADD = $(LDADD) $(LIB_NANOSLEEP)
279EXTRA_DIST += nap.h test-chown.h test-chown.c signature.h macros.h
280
281## end   gnulib module chown-tests
282
283## begin gnulib module cloexec-tests
284
285TESTS += test-cloexec
286check_PROGRAMS += test-cloexec
287EXTRA_DIST += test-cloexec.c macros.h
288
289## end   gnulib module cloexec-tests
290
291## begin gnulib module close-tests
292
293TESTS += test-close
294check_PROGRAMS += test-close
295EXTRA_DIST += test-close.c signature.h macros.h
296
297## end   gnulib module close-tests
298
299## begin gnulib module closein-tests
300
301TESTS += test-closein.sh
302check_PROGRAMS += test-closein
303test_closein_LDADD = $(LDADD) @LIBINTL@
304EXTRA_DIST += test-closein.sh test-closein.c
305
306## end   gnulib module closein-tests
307
308## begin gnulib module connect
309
310
311EXTRA_DIST += connect.c w32sock.h
312
313EXTRA_libtests_a_SOURCES += connect.c
314
315## end   gnulib module connect
316
317## begin gnulib module connect-tests
318
319TESTS += test-connect
320check_PROGRAMS += test-connect
321test_connect_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
322EXTRA_DIST += test-connect.c signature.h macros.h
323
324## end   gnulib module connect-tests
325
326## begin gnulib module crypto/md5-tests
327
328TESTS += test-md5
329check_PROGRAMS += test-md5
330noinst_PROGRAMS += bench-md5
331test_md5_LDADD = $(LDADD) @LIB_CRYPTO@
332bench_md5_LDADD = $(LDADD) @LIB_CRYPTO@
333EXTRA_DIST += test-md5.c test-digest.h bench-md5.c bench-digest.h macros.h
334
335## end   gnulib module crypto/md5-tests
336
337## begin gnulib module crypto/sha1-tests
338
339TESTS += test-sha1
340check_PROGRAMS += test-sha1
341noinst_PROGRAMS += bench-sha1
342test_sha1_LDADD = $(LDADD) @LIB_CRYPTO@
343bench_sha1_LDADD = $(LDADD) @LIB_CRYPTO@
344EXTRA_DIST += test-sha1.c test-digest.h bench-sha1.c bench-digest.h macros.h
345
346## end   gnulib module crypto/sha1-tests
347
348## begin gnulib module crypto/sha256-tests
349
350TESTS += test-sha256
351check_PROGRAMS += test-sha256
352noinst_PROGRAMS += bench-sha224 bench-sha256
353test_sha256_LDADD = $(LDADD) @LIB_CRYPTO@
354bench_sha224_LDADD = $(LDADD) @LIB_CRYPTO@
355bench_sha256_LDADD = $(LDADD) @LIB_CRYPTO@
356EXTRA_DIST += test-sha256.c test-digest.h bench-sha224.c bench-sha256.c bench-digest.h macros.h
357
358## end   gnulib module crypto/sha256-tests
359
360## begin gnulib module crypto/sha512-tests
361
362TESTS += test-sha512
363check_PROGRAMS += test-sha512
364noinst_PROGRAMS += bench-sha384 bench-sha512
365test_sha512_LDADD = $(LDADD) @LIB_CRYPTO@
366bench_sha384_LDADD = $(LDADD) @LIB_CRYPTO@
367bench_sha512_LDADD = $(LDADD) @LIB_CRYPTO@
368EXTRA_DIST += test-sha512.c test-digest.h bench-sha384.c bench-sha512.c bench-digest.h macros.h
369
370## end   gnulib module crypto/sha512-tests
371
372## begin gnulib module ctype-tests
373
374TESTS += test-ctype
375check_PROGRAMS += test-ctype
376EXTRA_DIST += test-ctype.c
377
378## end   gnulib module ctype-tests
379
380## begin gnulib module di-set-tests
381
382TESTS += test-di-set
383check_PROGRAMS += test-di-set
384EXTRA_DIST += test-di-set.c macros.h
385
386## end   gnulib module di-set-tests
387
388## begin gnulib module dirent-safer-tests
389
390TESTS += test-dirent-safer
391check_PROGRAMS += test-dirent-safer
392# Link with libintl when needed. dirent-safer uses fdopendir if it is present,
393# and fdopendir indirectly depends on openat-die -> gettext-h.
394test_dirent_safer_LDADD = $(LDADD) $(LIBINTL)
395EXTRA_DIST += test-dirent-safer.c macros.h
396
397## end   gnulib module dirent-safer-tests
398
399## begin gnulib module dirent-tests
400
401TESTS += test-dirent
402check_PROGRAMS += test-dirent
403EXTRA_DIST += test-dirent.c
404
405## end   gnulib module dirent-tests
406
407## begin gnulib module dirname-tests
408
409TESTS += test-dirname
410check_PROGRAMS += test-dirname
411test_dirname_LDADD = $(LDADD) @LIBINTL@
412EXTRA_DIST += test-dirname.c
413
414## end   gnulib module dirname-tests
415
416## begin gnulib module dup-tests
417
418TESTS += test-dup
419check_PROGRAMS += test-dup
420EXTRA_DIST += test-dup.c signature.h macros.h
421
422## end   gnulib module dup-tests
423
424## begin gnulib module dup2-tests
425
426TESTS += test-dup2
427check_PROGRAMS += test-dup2
428EXTRA_DIST += test-dup2.c signature.h macros.h
429
430## end   gnulib module dup2-tests
431
432## begin gnulib module environ-tests
433
434TESTS += test-environ
435check_PROGRAMS += test-environ
436
437EXTRA_DIST += test-environ.c
438
439## end   gnulib module environ-tests
440
441## begin gnulib module errno-tests
442
443TESTS += test-errno
444check_PROGRAMS += test-errno
445
446EXTRA_DIST += test-errno.c
447
448## end   gnulib module errno-tests
449
450## begin gnulib module exclude-tests
451
452TESTS += \
453 test-exclude1.sh\
454 test-exclude2.sh\
455 test-exclude3.sh\
456 test-exclude4.sh\
457 test-exclude5.sh\
458 test-exclude6.sh\
459 test-exclude7.sh\
460 test-exclude8.sh
461
462check_PROGRAMS += test-exclude
463test_exclude_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
464EXTRA_DIST += test-exclude.c test-exclude1.sh test-exclude2.sh test-exclude3.sh test-exclude4.sh test-exclude5.sh test-exclude6.sh test-exclude7.sh test-exclude8.sh
465
466## end   gnulib module exclude-tests
467
468## begin gnulib module faccessat-tests
469
470TESTS += test-faccessat
471check_PROGRAMS += test-faccessat
472test_faccessat_LDADD = $(LDADD) $(LIB_EACCESS) @LIBINTL@
473EXTRA_DIST += test-faccessat.c signature.h macros.h
474
475## end   gnulib module faccessat-tests
476
477## begin gnulib module fadvise-tests
478
479TESTS += test-fadvise
480check_PROGRAMS += test-fadvise
481EXTRA_DIST += test-fadvise.c
482
483## end   gnulib module fadvise-tests
484
485## begin gnulib module fchdir-tests
486
487TESTS += test-fchdir
488check_PROGRAMS += test-fchdir
489test_fchdir_LDADD = $(LDADD) $(LIBINTL)
490EXTRA_DIST += test-fchdir.c signature.h macros.h
491
492## end   gnulib module fchdir-tests
493
494## begin gnulib module fchmodat-tests
495
496TESTS += test-fchmodat
497check_PROGRAMS += test-fchmodat
498test_fchmodat_LDADD = $(LDADD) @LIBINTL@
499EXTRA_DIST += test-fchmodat.c signature.h macros.h
500
501## end   gnulib module fchmodat-tests
502
503## begin gnulib module fchownat-tests
504
505TESTS += test-fchownat
506check_PROGRAMS += test-fchownat
507test_fchownat_LDADD = $(LDADD) $(LIB_NANOSLEEP) @LIBINTL@
508EXTRA_DIST += nap.h test-chown.h test-lchown.h test-fchownat.c signature.h macros.h
509
510## end   gnulib module fchownat-tests
511
512## begin gnulib module fclose-tests
513
514TESTS += test-fclose
515check_PROGRAMS += test-fclose
516EXTRA_DIST += test-fclose.c
517
518## end   gnulib module fclose-tests
519
520## begin gnulib module fcntl-h-tests
521
522TESTS += test-fcntl-h
523check_PROGRAMS += test-fcntl-h
524EXTRA_DIST += test-fcntl-h.c
525
526## end   gnulib module fcntl-h-tests
527
528## begin gnulib module fcntl-safer-tests
529
530TESTS += test-fcntl-safer
531check_PROGRAMS += test-fcntl-safer
532EXTRA_DIST += test-open.h test-fcntl-safer.c macros.h
533
534## end   gnulib module fcntl-safer-tests
535
536## begin gnulib module fcntl-tests
537
538TESTS += test-fcntl
539check_PROGRAMS += test-fcntl
540EXTRA_DIST += test-fcntl.c signature.h macros.h
541
542## end   gnulib module fcntl-tests
543
544## begin gnulib module fdatasync-tests
545
546TESTS += test-fdatasync
547check_PROGRAMS += test-fdatasync
548test_fdatasync_LDADD = $(LDADD) $(LIB_FDATASYNC)
549EXTRA_DIST += test-fdatasync.c signature.h macros.h
550
551## end   gnulib module fdatasync-tests
552
553## begin gnulib module fdopen-tests
554
555TESTS += test-fdopen
556check_PROGRAMS += test-fdopen
557EXTRA_DIST += test-fdopen.c signature.h macros.h
558
559## end   gnulib module fdopen-tests
560
561## begin gnulib module fdopendir-tests
562
563TESTS += test-fdopendir
564check_PROGRAMS += test-fdopendir
565test_fdopendir_LDADD = $(LDADD) @LIBINTL@
566EXTRA_DIST += test-fdopendir.c signature.h macros.h
567
568## end   gnulib module fdopendir-tests
569
570## begin gnulib module fdutimensat-tests
571
572TESTS += test-fdutimensat
573check_PROGRAMS += test-fdutimensat
574test_fdutimensat_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) \
575  $(LIB_NANOSLEEP) @LIBINTL@
576EXTRA_DIST += nap.h test-futimens.h test-lutimens.h test-utimens.h test-utimens-common.h test-fdutimensat.c macros.h
577
578## end   gnulib module fdutimensat-tests
579
580## begin gnulib module fflush-tests
581
582TESTS += test-fflush test-fflush2.sh
583check_PROGRAMS += test-fflush test-fflush2
584MOSTLYCLEANFILES += test-fflush.txt
585EXTRA_DIST += test-fflush.c test-fflush2.sh test-fflush2.c signature.h macros.h
586
587## end   gnulib module fflush-tests
588
589## begin gnulib module fgetc-tests
590
591TESTS += test-fgetc
592check_PROGRAMS += test-fgetc
593EXTRA_DIST += test-fgetc.c signature.h macros.h
594
595## end   gnulib module fgetc-tests
596
597## begin gnulib module file-has-acl-tests
598
599TESTS += \
600  test-file-has-acl.sh test-file-has-acl-1.sh test-file-has-acl-2.sh
601TESTS_ENVIRONMENT += USE_ACL=$(USE_ACL)
602check_PROGRAMS += test-file-has-acl
603test_file_has_acl_LDADD = $(LDADD) $(LIB_HAS_ACL)
604EXTRA_DIST += test-file-has-acl.sh test-file-has-acl-1.sh test-file-has-acl-2.sh test-file-has-acl.c macros.h
605
606## end   gnulib module file-has-acl-tests
607
608## begin gnulib module filenamecat-tests
609
610TESTS += test-filenamecat
611check_PROGRAMS += test-filenamecat
612test_filenamecat_LDADD = $(LDADD) @LIBINTL@
613EXTRA_DIST += test-filenamecat.c
614
615## end   gnulib module filenamecat-tests
616
617## begin gnulib module filevercmp-tests
618
619TESTS += test-filevercmp
620check_PROGRAMS += test-filevercmp
621EXTRA_DIST += test-filevercmp.c macros.h
622
623## end   gnulib module filevercmp-tests
624
625## begin gnulib module float-tests
626
627TESTS += test-float
628check_PROGRAMS += test-float
629EXTRA_DIST += test-float.c macros.h
630
631## end   gnulib module float-tests
632
633## begin gnulib module fnmatch-tests
634
635TESTS += test-fnmatch
636check_PROGRAMS += test-fnmatch
637EXTRA_DIST += test-fnmatch.c signature.h macros.h
638
639## end   gnulib module fnmatch-tests
640
641## begin gnulib module fopen-safer-tests
642
643TESTS += test-fopen-safer
644check_PROGRAMS += test-fopen-safer
645EXTRA_DIST += test-fopen.h test-fopen-safer.c macros.h
646
647## end   gnulib module fopen-safer-tests
648
649## begin gnulib module fopen-tests
650
651TESTS += test-fopen
652check_PROGRAMS += test-fopen
653
654EXTRA_DIST += test-fopen.h test-fopen.c signature.h macros.h
655
656## end   gnulib module fopen-tests
657
658## begin gnulib module fpending-tests
659
660TESTS += test-fpending.sh
661check_PROGRAMS += test-fpending
662MOSTLYCLEANFILES += test-fpending.t
663EXTRA_DIST += test-fpending.c test-fpending.sh macros.h
664
665## end   gnulib module fpending-tests
666
667## begin gnulib module fpurge-tests
668
669TESTS += test-fpurge
670check_PROGRAMS += test-fpurge
671MOSTLYCLEANFILES += t-fpurge.tmp
672EXTRA_DIST += test-fpurge.c macros.h
673
674## end   gnulib module fpurge-tests
675
676## begin gnulib module fputc-tests
677
678TESTS += test-fputc
679check_PROGRAMS += test-fputc
680EXTRA_DIST += test-fputc.c signature.h macros.h
681
682## end   gnulib module fputc-tests
683
684## begin gnulib module fread-tests
685
686TESTS += test-fread
687check_PROGRAMS += test-fread
688EXTRA_DIST += test-fread.c signature.h macros.h
689
690## end   gnulib module fread-tests
691
692## begin gnulib module freadahead-tests
693
694TESTS += test-freadahead.sh
695check_PROGRAMS += test-freadahead
696EXTRA_DIST += test-freadahead.c test-freadahead.sh macros.h
697
698## end   gnulib module freadahead-tests
699
700## begin gnulib module freading-tests
701
702TESTS += test-freading
703check_PROGRAMS += test-freading
704MOSTLYCLEANFILES += t-freading.tmp
705EXTRA_DIST += test-freading.c macros.h
706
707## end   gnulib module freading-tests
708
709## begin gnulib module freadptr-tests
710
711TESTS += test-freadptr.sh test-freadptr2.sh
712check_PROGRAMS += test-freadptr test-freadptr2
713EXTRA_DIST += test-freadptr.c test-freadptr.sh test-freadptr2.c test-freadptr2.sh macros.h
714
715## end   gnulib module freadptr-tests
716
717## begin gnulib module freadseek-tests
718
719TESTS += test-freadseek.sh
720check_PROGRAMS += test-freadseek
721EXTRA_DIST += test-freadseek.c test-freadseek.sh macros.h
722
723## end   gnulib module freadseek-tests
724
725## begin gnulib module freopen-safer-tests
726
727TESTS += test-freopen-safer
728check_PROGRAMS += test-freopen-safer
729EXTRA_DIST += test-freopen-safer.c macros.h
730
731## end   gnulib module freopen-safer-tests
732
733## begin gnulib module freopen-tests
734
735TESTS += test-freopen
736check_PROGRAMS += test-freopen
737
738EXTRA_DIST += test-freopen.c signature.h macros.h
739
740## end   gnulib module freopen-tests
741
742## begin gnulib module frexp-nolibm-tests
743
744TESTS += test-frexp-nolibm
745check_PROGRAMS += test-frexp-nolibm
746test_frexp_nolibm_SOURCES = test-frexp.c randomd.c
747EXTRA_DIST += test-frexp.c test-frexp.h minus-zero.h infinity.h nan.h signature.h macros.h randomd.c
748
749## end   gnulib module frexp-nolibm-tests
750
751## begin gnulib module frexpl-nolibm-tests
752
753TESTS += test-frexpl-nolibm
754check_PROGRAMS += test-frexpl-nolibm
755test_frexpl_nolibm_SOURCES = test-frexpl.c randoml.c
756EXTRA_DIST += test-frexpl.c test-frexp.h minus-zero.h infinity.h nan.h signature.h macros.h randoml.c
757
758## end   gnulib module frexpl-nolibm-tests
759
760## begin gnulib module fseek-tests
761
762TESTS += test-fseek.sh test-fseek2.sh
763check_PROGRAMS += test-fseek
764EXTRA_DIST += test-fseek.c test-fseek.sh test-fseek2.sh signature.h macros.h
765
766## end   gnulib module fseek-tests
767
768## begin gnulib module fseeko-tests
769
770TESTS += test-fseeko.sh test-fseeko2.sh test-fseeko3.sh test-fseeko4.sh
771check_PROGRAMS += test-fseeko test-fseeko3 test-fseeko4
772EXTRA_DIST += test-fseeko.c test-fseeko.sh test-fseeko2.sh test-fseeko3.c test-fseeko3.sh test-fseeko4.c test-fseeko4.sh signature.h macros.h
773
774## end   gnulib module fseeko-tests
775
776## begin gnulib module fseterr-tests
777
778TESTS += test-fseterr
779check_PROGRAMS += test-fseterr
780
781EXTRA_DIST += test-fseterr.c
782
783## end   gnulib module fseterr-tests
784
785## begin gnulib module fstat-tests
786
787TESTS += test-fstat
788check_PROGRAMS += test-fstat
789EXTRA_DIST += test-fstat.c signature.h macros.h
790
791## end   gnulib module fstat-tests
792
793## begin gnulib module fstatat-tests
794
795TESTS += test-fstatat
796check_PROGRAMS += test-fstatat
797test_fstatat_LDADD = $(LDADD) @LIBINTL@
798EXTRA_DIST += test-fstatat.c test-lstat.h test-stat.h signature.h macros.h
799
800## end   gnulib module fstatat-tests
801
802## begin gnulib module fsync-tests
803
804TESTS += test-fsync
805check_PROGRAMS += test-fsync
806EXTRA_DIST += test-fsync.c signature.h macros.h
807
808## end   gnulib module fsync-tests
809
810## begin gnulib module ftell-tests
811
812TESTS += test-ftell.sh test-ftell2.sh test-ftell3
813check_PROGRAMS += test-ftell test-ftell3
814MOSTLYCLEANFILES += t-ftell3.tmp
815EXTRA_DIST += test-ftell.c test-ftell.sh test-ftell2.sh test-ftell3.c signature.h macros.h
816
817## end   gnulib module ftell-tests
818
819## begin gnulib module ftello-tests
820
821TESTS += test-ftello.sh test-ftello2.sh test-ftello3 test-ftello4.sh
822check_PROGRAMS += test-ftello test-ftello3 test-ftello4
823MOSTLYCLEANFILES += t-ftello3.tmp
824EXTRA_DIST += test-ftello.c test-ftello.sh test-ftello2.sh test-ftello3.c test-ftello4.c test-ftello4.sh signature.h macros.h
825
826## end   gnulib module ftello-tests
827
828## begin gnulib module ftruncate-tests
829
830TESTS += test-ftruncate.sh
831check_PROGRAMS += test-ftruncate
832EXTRA_DIST += test-ftruncate.c test-ftruncate.sh signature.h macros.h
833
834## end   gnulib module ftruncate-tests
835
836## begin gnulib module futimens-tests
837
838TESTS += test-futimens
839check_PROGRAMS += test-futimens
840test_futimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@
841EXTRA_DIST += nap.h test-futimens.h test-utimens-common.h test-futimens.c signature.h macros.h
842
843## end   gnulib module futimens-tests
844
845## begin gnulib module fwrite-tests
846
847TESTS += test-fwrite
848check_PROGRAMS += test-fwrite
849EXTRA_DIST += test-fwrite.c signature.h macros.h
850
851## end   gnulib module fwrite-tests
852
853## begin gnulib module getaddrinfo-tests
854
855TESTS += test-getaddrinfo
856check_PROGRAMS += test-getaddrinfo
857test_getaddrinfo_LDADD = $(LDADD) @GETADDRINFO_LIB@ @LIBINTL@
858EXTRA_DIST += signature.h test-getaddrinfo.c
859
860## end   gnulib module getaddrinfo-tests
861
862## begin gnulib module getcwd-lgpl-tests
863
864TESTS += test-getcwd-lgpl
865check_PROGRAMS += test-getcwd-lgpl
866test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL)
867EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h
868
869## end   gnulib module getcwd-lgpl-tests
870
871## begin gnulib module getcwd-tests
872
873TESTS += test-getcwd.sh
874check_PROGRAMS += test-getcwd
875test_getcwd_LDADD = $(LDADD) @LIBINTL@
876EXTRA_DIST += test-getcwd.c test-getcwd.sh
877
878## end   gnulib module getcwd-tests
879
880## begin gnulib module getdelim-tests
881
882TESTS += test-getdelim
883check_PROGRAMS += test-getdelim
884MOSTLYCLEANFILES += test-getdelim.txt
885EXTRA_DIST += test-getdelim.c signature.h macros.h
886
887## end   gnulib module getdelim-tests
888
889## begin gnulib module getdtablesize-tests
890
891TESTS += test-getdtablesize
892check_PROGRAMS += test-getdtablesize
893EXTRA_DIST += test-getdtablesize.c signature.h macros.h
894
895## end   gnulib module getdtablesize-tests
896
897## begin gnulib module getgroups-tests
898
899TESTS += test-getgroups
900check_PROGRAMS += test-getgroups
901EXTRA_DIST += test-getgroups.c signature.h macros.h
902
903## end   gnulib module getgroups-tests
904
905## begin gnulib module gethostname-tests
906
907TESTS += test-gethostname
908check_PROGRAMS += test-gethostname
909test_gethostname_LDADD = $(LDADD) @GETHOSTNAME_LIB@
910EXTRA_DIST += signature.h test-gethostname.c
911
912## end   gnulib module gethostname-tests
913
914## begin gnulib module getline-tests
915
916TESTS += test-getline
917check_PROGRAMS += test-getline
918MOSTLYCLEANFILES += test-getline.txt
919EXTRA_DIST += test-getline.c signature.h macros.h
920
921## end   gnulib module getline-tests
922
923## begin gnulib module getloadavg-tests
924
925TESTS += test-getloadavg
926check_PROGRAMS += test-getloadavg
927test_getloadavg_LDADD = $(LDADD) @GETLOADAVG_LIBS@
928EXTRA_DIST += test-getloadavg.c signature.h
929
930## end   gnulib module getloadavg-tests
931
932## begin gnulib module getlogin-tests
933
934TESTS += test-getlogin
935check_PROGRAMS += test-getlogin
936test_getlogin_LDADD = $(LDADD) $(LIB_GETLOGIN)
937EXTRA_DIST += test-getlogin.c test-getlogin.h signature.h macros.h
938
939## end   gnulib module getlogin-tests
940
941## begin gnulib module getndelim2-tests
942
943TESTS += test-getndelim2
944check_PROGRAMS += test-getndelim2
945MOSTLYCLEANFILES += test-getndelim2.txt
946EXTRA_DIST += test-getndelim2.c macros.h
947
948## end   gnulib module getndelim2-tests
949
950## begin gnulib module getopt-gnu-tests
951
952TESTS += test-getopt-gnu
953check_PROGRAMS += test-getopt-gnu
954test_getopt_gnu_LDADD = $(LDADD) $(LIBINTL)
955EXTRA_DIST += macros.h signature.h test-getopt-gnu.c test-getopt-main.h test-getopt.h test-getopt_long.h
956
957## end   gnulib module getopt-gnu-tests
958
959## begin gnulib module getopt-posix-tests
960
961TESTS += test-getopt-posix
962check_PROGRAMS += test-getopt-posix
963test_getopt_posix_LDADD = $(LDADD) $(LIBINTL)
964EXTRA_DIST += macros.h signature.h test-getopt-posix.c test-getopt-main.h test-getopt.h
965
966## end   gnulib module getopt-posix-tests
967
968## begin gnulib module getprogname-tests
969
970DEFS += -DEXEEXT=\"@EXEEXT@\"
971TESTS += test-getprogname
972check_PROGRAMS += test-getprogname
973test_getprogname_LDADD = $(LDADD)
974EXTRA_DIST += test-getprogname.c
975
976## end   gnulib module getprogname-tests
977
978## begin gnulib module getrusage
979
980
981EXTRA_DIST += getrusage.c
982
983EXTRA_libtests_a_SOURCES += getrusage.c
984
985## end   gnulib module getrusage
986
987## begin gnulib module getrusage-tests
988
989TESTS += test-getrusage
990check_PROGRAMS += test-getrusage
991EXTRA_DIST += test-getrusage.c signature.h macros.h
992
993## end   gnulib module getrusage-tests
994
995## begin gnulib module gettimeofday-tests
996
997TESTS += test-gettimeofday
998check_PROGRAMS += test-gettimeofday
999
1000EXTRA_DIST += signature.h test-gettimeofday.c
1001
1002## end   gnulib module gettimeofday-tests
1003
1004## begin gnulib module hash-tests
1005
1006TESTS += test-hash
1007check_PROGRAMS += test-hash
1008EXTRA_DIST += test-hash.c macros.h
1009
1010## end   gnulib module hash-tests
1011
1012## begin gnulib module i-ring-tests
1013
1014TESTS += test-i-ring
1015check_PROGRAMS += test-i-ring
1016EXTRA_DIST += test-i-ring.c macros.h
1017
1018## end   gnulib module i-ring-tests
1019
1020## begin gnulib module iconv-h-tests
1021
1022TESTS += test-iconv-h
1023check_PROGRAMS += test-iconv-h
1024EXTRA_DIST += test-iconv-h.c
1025
1026## end   gnulib module iconv-h-tests
1027
1028## begin gnulib module iconv-tests
1029
1030TESTS += test-iconv
1031check_PROGRAMS += test-iconv
1032test_iconv_LDADD = $(LDADD) @LIBICONV@
1033
1034EXTRA_DIST += test-iconv.c signature.h macros.h
1035
1036## end   gnulib module iconv-tests
1037
1038## begin gnulib module ignore-value-tests
1039
1040TESTS += test-ignore-value
1041check_PROGRAMS += test-ignore-value
1042EXTRA_DIST += test-ignore-value.c
1043
1044## end   gnulib module ignore-value-tests
1045
1046## begin gnulib module inet_ntop-tests
1047
1048TESTS += test-inet_ntop
1049check_PROGRAMS += test-inet_ntop
1050test_inet_ntop_LDADD = $(LDADD) @INET_NTOP_LIB@
1051EXTRA_DIST += test-inet_ntop.c signature.h macros.h
1052
1053## end   gnulib module inet_ntop-tests
1054
1055## begin gnulib module inet_pton
1056
1057
1058EXTRA_DIST += inet_pton.c
1059
1060EXTRA_libtests_a_SOURCES += inet_pton.c
1061
1062## end   gnulib module inet_pton
1063
1064## begin gnulib module inet_pton-tests
1065
1066TESTS += test-inet_pton
1067check_PROGRAMS += test-inet_pton
1068test_inet_pton_LDADD = $(LDADD) @INET_PTON_LIB@
1069EXTRA_DIST += test-inet_pton.c signature.h macros.h
1070
1071## end   gnulib module inet_pton-tests
1072
1073## begin gnulib module ino-map-tests
1074
1075TESTS += test-ino-map
1076check_PROGRAMS += test-ino-map
1077EXTRA_DIST += test-ino-map.c macros.h
1078
1079## end   gnulib module ino-map-tests
1080
1081## begin gnulib module intprops-tests
1082
1083TESTS += test-intprops
1084check_PROGRAMS += test-intprops
1085EXTRA_DIST += test-intprops.c macros.h
1086
1087## end   gnulib module intprops-tests
1088
1089## begin gnulib module inttostr-tests
1090
1091TESTS += test-inttostr
1092check_PROGRAMS += test-inttostr
1093EXTRA_DIST += macros.h test-inttostr.c
1094
1095## end   gnulib module inttostr-tests
1096
1097## begin gnulib module inttypes-tests
1098
1099TESTS += test-inttypes
1100check_PROGRAMS += test-inttypes
1101EXTRA_DIST += test-inttypes.c
1102
1103## end   gnulib module inttypes-tests
1104
1105## begin gnulib module ioctl
1106
1107
1108EXTRA_DIST += ioctl.c w32sock.h
1109
1110EXTRA_libtests_a_SOURCES += ioctl.c
1111
1112## end   gnulib module ioctl
1113
1114## begin gnulib module ioctl-tests
1115
1116TESTS += test-ioctl
1117check_PROGRAMS += test-ioctl
1118EXTRA_DIST += test-ioctl.c signature.h macros.h
1119
1120## end   gnulib module ioctl-tests
1121
1122## begin gnulib module isatty-tests
1123
1124TESTS += test-isatty
1125check_PROGRAMS += test-isatty
1126EXTRA_DIST += test-isatty.c signature.h macros.h
1127
1128## end   gnulib module isatty-tests
1129
1130## begin gnulib module isblank-tests
1131
1132TESTS += test-isblank
1133check_PROGRAMS += test-isblank
1134EXTRA_DIST += test-isblank.c signature.h macros.h
1135
1136## end   gnulib module isblank-tests
1137
1138## begin gnulib module isnand-nolibm-tests
1139
1140TESTS += test-isnand-nolibm
1141check_PROGRAMS += test-isnand-nolibm
1142
1143EXTRA_DIST += test-isnand-nolibm.c test-isnand.h minus-zero.h infinity.h nan.h macros.h
1144
1145## end   gnulib module isnand-nolibm-tests
1146
1147## begin gnulib module isnanf-nolibm-tests
1148
1149TESTS += test-isnanf-nolibm
1150check_PROGRAMS += test-isnanf-nolibm
1151
1152EXTRA_DIST += test-isnanf-nolibm.c test-isnanf.h minus-zero.h infinity.h nan.h macros.h
1153
1154## end   gnulib module isnanf-nolibm-tests
1155
1156## begin gnulib module isnanl-nolibm-tests
1157
1158TESTS += test-isnanl-nolibm
1159check_PROGRAMS += test-isnanl-nolibm
1160
1161EXTRA_DIST += test-isnanl-nolibm.c test-isnanl.h minus-zero.h infinity.h nan.h macros.h
1162
1163## end   gnulib module isnanl-nolibm-tests
1164
1165## begin gnulib module iswblank-tests
1166
1167TESTS += test-iswblank
1168check_PROGRAMS += test-iswblank
1169EXTRA_DIST += test-iswblank.c macros.h
1170
1171## end   gnulib module iswblank-tests
1172
1173## begin gnulib module langinfo-tests
1174
1175TESTS += test-langinfo
1176check_PROGRAMS += test-langinfo
1177EXTRA_DIST += test-langinfo.c
1178
1179## end   gnulib module langinfo-tests
1180
1181## begin gnulib module lchown-tests
1182
1183TESTS += test-lchown
1184check_PROGRAMS += test-lchown
1185test_lchown_LDADD = $(LDADD) $(LIB_NANOSLEEP)
1186EXTRA_DIST += nap.h test-lchown.h test-lchown.c signature.h macros.h
1187
1188## end   gnulib module lchown-tests
1189
1190## begin gnulib module limits-h-tests
1191
1192TESTS += test-limits-h
1193check_PROGRAMS += test-limits-h
1194EXTRA_DIST += test-limits-h.c
1195
1196## end   gnulib module limits-h-tests
1197
1198## begin gnulib module link-tests
1199
1200TESTS += test-link
1201check_PROGRAMS += test-link
1202test_link_LDADD = $(LDADD) @LIBINTL@
1203EXTRA_DIST += test-link.h test-link.c signature.h macros.h
1204
1205## end   gnulib module link-tests
1206
1207## begin gnulib module linkat-tests
1208
1209TESTS += test-linkat
1210check_PROGRAMS += test-linkat
1211test_linkat_LDADD = $(LDADD) @LIBINTL@
1212EXTRA_DIST += test-link.h test-linkat.c signature.h macros.h
1213
1214## end   gnulib module linkat-tests
1215
1216## begin gnulib module listen
1217
1218
1219EXTRA_DIST += listen.c w32sock.h
1220
1221EXTRA_libtests_a_SOURCES += listen.c
1222
1223## end   gnulib module listen
1224
1225## begin gnulib module listen-tests
1226
1227TESTS += test-listen
1228check_PROGRAMS += test-listen
1229test_listen_LDADD = $(LDADD) @LIBSOCKET@
1230EXTRA_DIST += test-listen.c signature.h macros.h
1231
1232## end   gnulib module listen-tests
1233
1234## begin gnulib module localcharset-tests
1235
1236noinst_PROGRAMS += test-localcharset
1237EXTRA_DIST += test-localcharset.c
1238
1239## end   gnulib module localcharset-tests
1240
1241## begin gnulib module locale-tests
1242
1243TESTS += test-locale
1244check_PROGRAMS += test-locale
1245EXTRA_DIST += test-locale.c
1246
1247## end   gnulib module locale-tests
1248
1249## begin gnulib module localeconv-tests
1250
1251TESTS += test-localeconv
1252check_PROGRAMS += test-localeconv
1253EXTRA_DIST += test-localeconv.c signature.h macros.h
1254
1255## end   gnulib module localeconv-tests
1256
1257## begin gnulib module localename
1258
1259libtests_a_SOURCES += localename.c
1260
1261EXTRA_DIST += localename.h
1262
1263## end   gnulib module localename
1264
1265## begin gnulib module localename-tests
1266
1267TESTS += test-localename
1268check_PROGRAMS += test-localename
1269test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@ $(LIBTHREAD)
1270
1271EXTRA_DIST += test-localename.c macros.h
1272
1273## end   gnulib module localename-tests
1274
1275## begin gnulib module lock-tests
1276
1277TESTS += test-rwlock1 test-lock test-once1 test-once2
1278check_PROGRAMS += test-rwlock1 test-lock test-once1 test-once2
1279test_rwlock1_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
1280test_lock_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
1281test_once1_SOURCES = test-once.c
1282test_once1_LDADD = $(LDADD) @LIBTHREAD@
1283test_once2_SOURCES = test-once.c
1284test_once2_LDADD = $(LDADD) @LIBMULTITHREAD@
1285EXTRA_DIST += test-rwlock1.c test-lock.c test-once.c
1286
1287## end   gnulib module lock-tests
1288
1289## begin gnulib module lseek-tests
1290
1291TESTS += test-lseek.sh
1292check_PROGRAMS += test-lseek
1293EXTRA_DIST += test-lseek.c test-lseek.sh signature.h macros.h
1294
1295## end   gnulib module lseek-tests
1296
1297## begin gnulib module lstat-tests
1298
1299TESTS += test-lstat
1300check_PROGRAMS += test-lstat
1301EXTRA_DIST += test-lstat.h test-lstat.c signature.h macros.h
1302
1303## end   gnulib module lstat-tests
1304
1305## begin gnulib module malloc-gnu-tests
1306
1307TESTS += test-malloc-gnu
1308check_PROGRAMS += test-malloc-gnu
1309EXTRA_DIST += test-malloc-gnu.c
1310
1311## end   gnulib module malloc-gnu-tests
1312
1313## begin gnulib module malloca-tests
1314
1315TESTS += test-malloca
1316check_PROGRAMS += test-malloca
1317
1318EXTRA_DIST += test-malloca.c
1319
1320## end   gnulib module malloca-tests
1321
1322## begin gnulib module math-tests
1323
1324TESTS += test-math
1325check_PROGRAMS += test-math
1326EXTRA_DIST += test-math.c macros.h
1327
1328## end   gnulib module math-tests
1329
1330## begin gnulib module mbrtowc-tests
1331
1332TESTS += \
1333  test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh \
1334  test-mbrtowc5.sh \
1335  test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh \
1336  test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh
1337TESTS_ENVIRONMENT += \
1338  LOCALE_FR='@LOCALE_FR@' \
1339  LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1340  LOCALE_JA='@LOCALE_JA@' \
1341  LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1342check_PROGRAMS += test-mbrtowc test-mbrtowc-w32
1343EXTRA_DIST += test-mbrtowc1.sh test-mbrtowc2.sh test-mbrtowc3.sh test-mbrtowc4.sh test-mbrtowc5.sh test-mbrtowc.c test-mbrtowc-w32-1.sh test-mbrtowc-w32-2.sh test-mbrtowc-w32-3.sh test-mbrtowc-w32-4.sh test-mbrtowc-w32-5.sh test-mbrtowc-w32.c signature.h macros.h
1344
1345## end   gnulib module mbrtowc-tests
1346
1347## begin gnulib module mbsalign-tests
1348
1349TESTS += test-mbsalign
1350check_PROGRAMS += test-mbsalign
1351EXTRA_DIST += test-mbsalign.c macros.h
1352
1353## end   gnulib module mbsalign-tests
1354
1355## begin gnulib module mbscasecmp-tests
1356
1357TESTS += test-mbscasecmp.sh
1358TESTS_ENVIRONMENT += LOCALE_TR_UTF8='@LOCALE_TR_UTF8@'
1359check_PROGRAMS += test-mbscasecmp
1360
1361EXTRA_DIST += test-mbscasecmp.sh test-mbscasecmp.c macros.h
1362
1363## end   gnulib module mbscasecmp-tests
1364
1365## begin gnulib module mbschr-tests
1366
1367TESTS += test-mbschr.sh
1368TESTS_ENVIRONMENT += LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1369check_PROGRAMS += test-mbschr
1370
1371EXTRA_DIST += test-mbschr.sh test-mbschr.c macros.h
1372
1373## end   gnulib module mbschr-tests
1374
1375## begin gnulib module mbsinit-tests
1376
1377TESTS += test-mbsinit.sh
1378TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
1379check_PROGRAMS += test-mbsinit
1380
1381EXTRA_DIST += test-mbsinit.sh test-mbsinit.c signature.h macros.h
1382
1383## end   gnulib module mbsinit-tests
1384
1385## begin gnulib module mbsrtowcs-tests
1386
1387TESTS += test-mbsrtowcs1.sh test-mbsrtowcs2.sh test-mbsrtowcs3.sh test-mbsrtowcs4.sh
1388TESTS_ENVIRONMENT += \
1389  LOCALE_FR='@LOCALE_FR@' \
1390  LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1391  LOCALE_JA='@LOCALE_JA@' \
1392  LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1393check_PROGRAMS += test-mbsrtowcs
1394
1395EXTRA_DIST += test-mbsrtowcs1.sh test-mbsrtowcs2.sh test-mbsrtowcs3.sh test-mbsrtowcs4.sh test-mbsrtowcs.c signature.h macros.h
1396
1397## end   gnulib module mbsrtowcs-tests
1398
1399## begin gnulib module mbsstr-tests
1400
1401TESTS += test-mbsstr1 test-mbsstr2.sh test-mbsstr3.sh
1402TESTS_ENVIRONMENT += LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1403check_PROGRAMS += test-mbsstr1 test-mbsstr2 test-mbsstr3
1404
1405EXTRA_DIST += test-mbsstr1.c test-mbsstr2.sh test-mbsstr2.c test-mbsstr3.sh test-mbsstr3.c macros.h
1406
1407## end   gnulib module mbsstr-tests
1408
1409## begin gnulib module memcasecmp-tests
1410
1411TESTS += test-memcasecmp
1412check_PROGRAMS += test-memcasecmp
1413EXTRA_DIST += test-memcasecmp.c zerosize-ptr.h macros.h
1414
1415## end   gnulib module memcasecmp-tests
1416
1417## begin gnulib module memchr-tests
1418
1419TESTS += test-memchr
1420check_PROGRAMS += test-memchr
1421EXTRA_DIST += test-memchr.c zerosize-ptr.h signature.h macros.h
1422
1423## end   gnulib module memchr-tests
1424
1425## begin gnulib module memchr2-tests
1426
1427TESTS += test-memchr2
1428check_PROGRAMS += test-memchr2
1429EXTRA_DIST += test-memchr2.c zerosize-ptr.h macros.h
1430
1431## end   gnulib module memchr2-tests
1432
1433## begin gnulib module memcoll-tests
1434
1435TESTS += test-memcoll
1436check_PROGRAMS += test-memcoll
1437EXTRA_DIST += test-memcoll.c macros.h
1438
1439## end   gnulib module memcoll-tests
1440
1441## begin gnulib module memrchr-tests
1442
1443TESTS += test-memrchr
1444check_PROGRAMS += test-memrchr
1445EXTRA_DIST += test-memrchr.c zerosize-ptr.h signature.h macros.h
1446
1447## end   gnulib module memrchr-tests
1448
1449## begin gnulib module mkdir-tests
1450
1451TESTS += test-mkdir
1452check_PROGRAMS += test-mkdir
1453EXTRA_DIST += test-mkdir.h test-mkdir.c signature.h macros.h
1454
1455## end   gnulib module mkdir-tests
1456
1457## begin gnulib module mkfifo-tests
1458
1459TESTS += test-mkfifo
1460check_PROGRAMS += test-mkfifo
1461EXTRA_DIST += test-mkfifo.h test-mkfifo.c signature.h macros.h
1462
1463## end   gnulib module mkfifo-tests
1464
1465## begin gnulib module mknod-tests
1466
1467TESTS += test-mknod
1468check_PROGRAMS += test-mknod
1469EXTRA_DIST += test-mkfifo.h test-mknod.c signature.h macros.h
1470
1471## end   gnulib module mknod-tests
1472
1473## begin gnulib module nanosleep-tests
1474
1475TESTS += test-nanosleep
1476check_PROGRAMS += test-nanosleep
1477test_nanosleep_LDADD = $(LDADD) $(LIB_NANOSLEEP)
1478EXTRA_DIST += test-nanosleep.c signature.h macros.h
1479
1480## end   gnulib module nanosleep-tests
1481
1482## begin gnulib module netdb-tests
1483
1484TESTS += test-netdb
1485check_PROGRAMS += test-netdb
1486EXTRA_DIST += test-netdb.c
1487
1488## end   gnulib module netdb-tests
1489
1490## begin gnulib module netinet_in-tests
1491
1492TESTS += test-netinet_in
1493check_PROGRAMS += test-netinet_in
1494EXTRA_DIST += test-netinet_in.c
1495
1496## end   gnulib module netinet_in-tests
1497
1498## begin gnulib module nl_langinfo-tests
1499
1500TESTS += test-nl_langinfo.sh
1501TESTS_ENVIRONMENT += LOCALE_FR='@LOCALE_FR@' LOCALE_FR_UTF8='@LOCALE_FR_UTF8@'
1502check_PROGRAMS += test-nl_langinfo
1503EXTRA_DIST += test-nl_langinfo.sh test-nl_langinfo.c signature.h macros.h
1504
1505## end   gnulib module nl_langinfo-tests
1506
1507## begin gnulib module nstrftime-tests
1508
1509TESTS += test-nstrftime
1510check_PROGRAMS += test-nstrftime
1511EXTRA_DIST += test-nstrftime.c macros.h
1512
1513## end   gnulib module nstrftime-tests
1514
1515## begin gnulib module open-tests
1516
1517TESTS += test-open
1518check_PROGRAMS += test-open
1519EXTRA_DIST += test-open.h test-open.c signature.h macros.h
1520
1521## end   gnulib module open-tests
1522
1523## begin gnulib module openat-safer-tests
1524
1525TESTS += test-openat-safer
1526check_PROGRAMS += test-openat-safer
1527test_openat_safer_LDADD = $(LDADD) @LIBINTL@
1528EXTRA_DIST += test-openat-safer.c macros.h
1529
1530## end   gnulib module openat-safer-tests
1531
1532## begin gnulib module openat-tests
1533
1534TESTS += test-openat
1535check_PROGRAMS += test-openat
1536test_openat_LDADD = $(LDADD) @LIBINTL@
1537EXTRA_DIST += test-openat.c test-open.h signature.h macros.h
1538
1539## end   gnulib module openat-tests
1540
1541## begin gnulib module parse-datetime-tests
1542
1543TESTS += test-parse-datetime
1544check_PROGRAMS += test-parse-datetime
1545test_parse_datetime_LDADD = $(LDADD) @LIBINTL@ $(LIB_CLOCK_GETTIME)
1546EXTRA_DIST += test-parse-datetime.c macros.h
1547
1548## end   gnulib module parse-datetime-tests
1549
1550## begin gnulib module pathmax-tests
1551
1552TESTS += test-pathmax
1553check_PROGRAMS += test-pathmax
1554EXTRA_DIST += test-pathmax.c
1555
1556## end   gnulib module pathmax-tests
1557
1558## begin gnulib module perror
1559
1560
1561EXTRA_DIST += perror.c
1562
1563EXTRA_libtests_a_SOURCES += perror.c
1564
1565## end   gnulib module perror
1566
1567## begin gnulib module perror-tests
1568
1569TESTS += test-perror.sh test-perror2
1570check_PROGRAMS += test-perror test-perror2
1571EXTRA_DIST += macros.h signature.h test-perror.c test-perror2.c test-perror.sh
1572
1573## end   gnulib module perror-tests
1574
1575## begin gnulib module pipe-posix-tests
1576
1577TESTS += test-pipe
1578check_PROGRAMS += test-pipe
1579EXTRA_DIST += test-pipe.c signature.h macros.h
1580
1581## end   gnulib module pipe-posix-tests
1582
1583## begin gnulib module pipe2-tests
1584
1585TESTS += test-pipe2
1586check_PROGRAMS += test-pipe2
1587test_pipe2_LDADD = $(LDADD) $(LIBSOCKET)
1588EXTRA_DIST += test-pipe2.c signature.h macros.h
1589
1590## end   gnulib module pipe2-tests
1591
1592## begin gnulib module posixtm-tests
1593
1594TESTS += test-posixtm
1595check_PROGRAMS += test-posixtm
1596EXTRA_DIST += test-posixtm.c macros.h
1597
1598## end   gnulib module posixtm-tests
1599
1600## begin gnulib module printf-frexp-tests
1601
1602TESTS += test-printf-frexp
1603check_PROGRAMS += test-printf-frexp
1604EXTRA_DIST += test-printf-frexp.c macros.h
1605
1606## end   gnulib module printf-frexp-tests
1607
1608## begin gnulib module printf-frexpl-tests
1609
1610TESTS += test-printf-frexpl
1611check_PROGRAMS += test-printf-frexpl
1612EXTRA_DIST += test-printf-frexpl.c macros.h
1613
1614## end   gnulib module printf-frexpl-tests
1615
1616## begin gnulib module priv-set-tests
1617
1618TESTS += test-priv-set
1619check_PROGRAMS += test-priv-set
1620EXTRA_DIST += test-priv-set.c macros.h
1621
1622## end   gnulib module priv-set-tests
1623
1624## begin gnulib module pthread_sigmask
1625
1626
1627EXTRA_DIST += pthread_sigmask.c
1628
1629EXTRA_libtests_a_SOURCES += pthread_sigmask.c
1630
1631## end   gnulib module pthread_sigmask
1632
1633## begin gnulib module pthread_sigmask-tests
1634
1635TESTS += test-pthread_sigmask1 test-pthread_sigmask2
1636check_PROGRAMS += test-pthread_sigmask1 test-pthread_sigmask2
1637test_pthread_sigmask1_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@
1638test_pthread_sigmask2_LDADD = $(LDADD) @LIB_PTHREAD_SIGMASK@ @LIBMULTITHREAD@
1639EXTRA_DIST += test-pthread_sigmask1.c test-pthread_sigmask2.c signature.h macros.h
1640
1641## end   gnulib module pthread_sigmask-tests
1642
1643## begin gnulib module quotearg-simple-tests
1644
1645TESTS += test-quotearg-simple
1646check_PROGRAMS += test-quotearg-simple
1647test_quotearg_simple_LDADD = $(LDADD) @LIBINTL@
1648EXTRA_DIST += test-quotearg-simple.c test-quotearg.h macros.h zerosize-ptr.h
1649
1650## end   gnulib module quotearg-simple-tests
1651
1652## begin gnulib module raise-tests
1653
1654TESTS += test-raise
1655check_PROGRAMS += test-raise
1656EXTRA_DIST += test-raise.c signature.h macros.h
1657
1658## end   gnulib module raise-tests
1659
1660## begin gnulib module randread-tests
1661
1662TESTS += test-rand-isaac
1663check_PROGRAMS += test-rand-isaac
1664EXTRA_DIST += test-rand-isaac.c macros.h
1665
1666## end   gnulib module randread-tests
1667
1668## begin gnulib module read-file-tests
1669
1670TESTS += test-read-file
1671check_PROGRAMS += test-read-file
1672EXTRA_DIST += test-read-file.c
1673
1674## end   gnulib module read-file-tests
1675
1676## begin gnulib module read-tests
1677
1678TESTS += test-read
1679check_PROGRAMS += test-read
1680EXTRA_DIST += test-read.c signature.h macros.h
1681
1682## end   gnulib module read-tests
1683
1684## begin gnulib module readlink-tests
1685
1686TESTS += test-readlink
1687check_PROGRAMS += test-readlink
1688EXTRA_DIST += test-readlink.h test-readlink.c signature.h macros.h
1689
1690## end   gnulib module readlink-tests
1691
1692## begin gnulib module readlinkat-tests
1693
1694TESTS += test-readlinkat
1695check_PROGRAMS += test-readlinkat
1696test_readlinkat_LDADD = $(LDADD) @LIBINTL@
1697EXTRA_DIST += test-readlink.h test-readlinkat.c signature.h macros.h
1698
1699## end   gnulib module readlinkat-tests
1700
1701## begin gnulib module readtokens-tests
1702
1703TESTS += test-readtokens.sh
1704check_PROGRAMS += test-readtokens
1705test_readtokens_LDADD = $(LDADD) @LIBINTL@
1706EXTRA_DIST += macros.h test-readtokens.c test-readtokens.sh
1707
1708## end   gnulib module readtokens-tests
1709
1710## begin gnulib module realloc-gnu-tests
1711
1712TESTS += test-realloc-gnu
1713check_PROGRAMS += test-realloc-gnu
1714EXTRA_DIST += test-realloc-gnu.c
1715
1716## end   gnulib module realloc-gnu-tests
1717
1718## begin gnulib module regex-tests
1719
1720TESTS += test-regex
1721check_PROGRAMS += test-regex
1722test_regex_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD) $(LIB_PTHREAD)
1723EXTRA_DIST += test-regex.c macros.h
1724
1725## end   gnulib module regex-tests
1726
1727## begin gnulib module remove-tests
1728
1729TESTS += test-remove
1730check_PROGRAMS += test-remove
1731EXTRA_DIST += test-remove.c signature.h macros.h
1732
1733## end   gnulib module remove-tests
1734
1735## begin gnulib module rename-tests
1736
1737TESTS += test-rename
1738check_PROGRAMS += test-rename
1739test_rename_LDADD = $(LDADD) @LIBINTL@
1740EXTRA_DIST += test-rename.h test-rename.c signature.h macros.h
1741
1742## end   gnulib module rename-tests
1743
1744## begin gnulib module renameat-tests
1745
1746TESTS += test-renameat
1747check_PROGRAMS += test-renameat
1748test_renameat_LDADD = $(LDADD) @LIBINTL@
1749EXTRA_DIST += test-rename.h test-renameat.c signature.h macros.h
1750
1751## end   gnulib module renameat-tests
1752
1753## begin gnulib module renameat2-tests
1754
1755TESTS += test-renameat2
1756check_PROGRAMS += test-renameat2
1757test_renameat2_LDADD = $(LDADD) @LIBINTL@
1758EXTRA_DIST += test-rename.h test-renameat2.c signature.h macros.h
1759
1760## end   gnulib module renameat2-tests
1761
1762## begin gnulib module rmdir-tests
1763
1764TESTS += test-rmdir
1765check_PROGRAMS += test-rmdir
1766EXTRA_DIST += test-rmdir.h test-rmdir.c signature.h macros.h
1767
1768## end   gnulib module rmdir-tests
1769
1770## begin gnulib module sched-tests
1771
1772TESTS += test-sched
1773check_PROGRAMS += test-sched
1774EXTRA_DIST += test-sched.c
1775
1776## end   gnulib module sched-tests
1777
1778## begin gnulib module select-tests
1779
1780TESTS += test-select test-select-in.sh test-select-out.sh
1781# test-select-stdin has to be run by hand.
1782check_PROGRAMS += test-select test-select-fd test-select-stdin
1783test_select_LDADD = $(LDADD) @LIB_SELECT@ @LIBSOCKET@ $(INET_PTON_LIB)
1784test_select_fd_LDADD = $(LDADD) @LIB_SELECT@
1785test_select_stdin_LDADD = $(LDADD) @LIB_SELECT@
1786EXTRA_DIST += macros.h signature.h test-select.c test-select.h test-select-fd.c test-select-in.sh test-select-out.sh test-select-stdin.c
1787
1788## end   gnulib module select-tests
1789
1790## begin gnulib module setenv-tests
1791
1792TESTS += test-setenv
1793check_PROGRAMS += test-setenv
1794EXTRA_DIST += test-setenv.c signature.h macros.h
1795
1796## end   gnulib module setenv-tests
1797
1798## begin gnulib module setlocale
1799
1800
1801EXTRA_DIST += setlocale.c
1802
1803EXTRA_libtests_a_SOURCES += setlocale.c
1804
1805## end   gnulib module setlocale
1806
1807## begin gnulib module setlocale-tests
1808
1809TESTS += test-setlocale1.sh test-setlocale2.sh
1810TESTS_ENVIRONMENT += \
1811  LOCALE_FR='@LOCALE_FR@' \
1812  LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
1813  LOCALE_JA='@LOCALE_JA@' \
1814  LOCALE_ZH_CN='@LOCALE_ZH_CN@'
1815check_PROGRAMS += test-setlocale1 test-setlocale2
1816EXTRA_DIST += test-setlocale1.sh test-setlocale1.c test-setlocale2.sh test-setlocale2.c signature.h macros.h
1817
1818## end   gnulib module setlocale-tests
1819
1820## begin gnulib module setsockopt
1821
1822
1823EXTRA_DIST += setsockopt.c w32sock.h
1824
1825EXTRA_libtests_a_SOURCES += setsockopt.c
1826
1827## end   gnulib module setsockopt
1828
1829## begin gnulib module setsockopt-tests
1830
1831TESTS += test-setsockopt
1832check_PROGRAMS += test-setsockopt
1833test_setsockopt_LDADD = $(LDADD) @LIBSOCKET@
1834EXTRA_DIST += test-setsockopt.c signature.h macros.h
1835
1836## end   gnulib module setsockopt-tests
1837
1838## begin gnulib module sigaction-tests
1839
1840TESTS += test-sigaction
1841check_PROGRAMS += test-sigaction
1842EXTRA_DIST += test-sigaction.c signature.h macros.h
1843
1844## end   gnulib module sigaction-tests
1845
1846## begin gnulib module signal-h-tests
1847
1848TESTS += test-signal-h
1849check_PROGRAMS += test-signal-h
1850EXTRA_DIST += test-signal-h.c
1851
1852## end   gnulib module signal-h-tests
1853
1854## begin gnulib module signbit-tests
1855
1856TESTS += test-signbit
1857check_PROGRAMS += test-signbit
1858
1859EXTRA_DIST += test-signbit.c minus-zero.h infinity.h macros.h
1860
1861## end   gnulib module signbit-tests
1862
1863## begin gnulib module sigprocmask-tests
1864
1865TESTS += test-sigprocmask
1866check_PROGRAMS += test-sigprocmask
1867EXTRA_DIST += test-sigprocmask.c signature.h macros.h
1868
1869## end   gnulib module sigprocmask-tests
1870
1871## begin gnulib module sleep
1872
1873
1874EXTRA_DIST += sleep.c
1875
1876EXTRA_libtests_a_SOURCES += sleep.c
1877
1878## end   gnulib module sleep
1879
1880## begin gnulib module sleep-tests
1881
1882TESTS += test-sleep
1883check_PROGRAMS += test-sleep
1884EXTRA_DIST += test-sleep.c signature.h macros.h
1885
1886## end   gnulib module sleep-tests
1887
1888## begin gnulib module snippet/_Noreturn
1889
1890# Because this Makefile snippet defines a variable used by other
1891# gnulib Makefile snippets, it must be present in all makefiles that
1892# need it. This is ensured by the applicability 'all' defined above.
1893
1894_NORETURN_H=$(srcdir)/_Noreturn.h
1895
1896EXTRA_DIST += _Noreturn.h
1897
1898## end   gnulib module snippet/_Noreturn
1899
1900## begin gnulib module snippet/arg-nonnull
1901
1902# Because this Makefile snippet defines a variable used by other
1903# gnulib Makefile snippets, it must be present in all makefiles that
1904# need it. This is ensured by the applicability 'all' defined above.
1905
1906ARG_NONNULL_H=$(srcdir)/arg-nonnull.h
1907
1908EXTRA_DIST += arg-nonnull.h
1909
1910## end   gnulib module snippet/arg-nonnull
1911
1912## begin gnulib module snippet/c++defs
1913
1914# Because this Makefile snippet defines a variable used by other
1915# gnulib Makefile snippets, it must be present in all makefiles that
1916# need it. This is ensured by the applicability 'all' defined above.
1917
1918CXXDEFS_H=$(srcdir)/c++defs.h
1919
1920EXTRA_DIST += c++defs.h
1921
1922## end   gnulib module snippet/c++defs
1923
1924## begin gnulib module snippet/unused-parameter
1925
1926# Because this Makefile snippet defines a variable used by other
1927# gnulib Makefile snippets, it must be present in all makefiles that
1928# need it. This is ensured by the applicability 'all' defined above.
1929
1930UNUSED_PARAMETER_H=$(srcdir)/unused-parameter.h
1931
1932EXTRA_DIST += unused-parameter.h
1933
1934## end   gnulib module snippet/unused-parameter
1935
1936## begin gnulib module snippet/warn-on-use
1937
1938# Because this Makefile snippet defines a variable used by other
1939# gnulib Makefile snippets, it must be present in all makefiles that
1940# need it. This is ensured by the applicability 'all' defined above.
1941
1942WARN_ON_USE_H=$(srcdir)/warn-on-use.h
1943
1944EXTRA_DIST += warn-on-use.h
1945
1946## end   gnulib module snippet/warn-on-use
1947
1948## begin gnulib module snprintf-tests
1949
1950TESTS += test-snprintf
1951check_PROGRAMS += test-snprintf
1952
1953EXTRA_DIST += test-snprintf.c signature.h macros.h
1954
1955## end   gnulib module snprintf-tests
1956
1957## begin gnulib module socket
1958
1959
1960EXTRA_DIST += socket.c w32sock.h
1961
1962EXTRA_libtests_a_SOURCES += socket.c
1963
1964## end   gnulib module socket
1965
1966## begin gnulib module sockets-tests
1967
1968TESTS += test-sockets
1969check_PROGRAMS += test-sockets
1970test_sockets_LDADD = $(LDADD) @LIBSOCKET@
1971EXTRA_DIST += test-sockets.c
1972
1973## end   gnulib module sockets-tests
1974
1975## begin gnulib module stat-tests
1976
1977TESTS += test-stat
1978check_PROGRAMS += test-stat
1979test_stat_LDADD = $(LDADD) $(LIBINTL)
1980EXTRA_DIST += test-stat.h test-stat.c signature.h macros.h
1981
1982## end   gnulib module stat-tests
1983
1984## begin gnulib module stat-time-tests
1985
1986TESTS += test-stat-time
1987check_PROGRAMS += test-stat-time
1988test_stat_time_LDADD = $(LDADD) $(LIB_NANOSLEEP)
1989EXTRA_DIST += test-stat-time.c macros.h nap.h
1990
1991## end   gnulib module stat-time-tests
1992
1993## begin gnulib module statat-tests
1994
1995TESTS += test-statat
1996check_PROGRAMS += test-statat
1997test_statat_LDADD = $(LDADD) @LIBINTL@
1998EXTRA_DIST += test-statat.c
1999
2000## end   gnulib module statat-tests
2001
2002## begin gnulib module stdalign-tests
2003
2004TESTS += test-stdalign
2005check_PROGRAMS += test-stdalign
2006EXTRA_DIST += test-stdalign.c macros.h
2007
2008## end   gnulib module stdalign-tests
2009
2010## begin gnulib module stdbool-tests
2011
2012TESTS += test-stdbool
2013check_PROGRAMS += test-stdbool
2014EXTRA_DIST += test-stdbool.c
2015
2016## end   gnulib module stdbool-tests
2017
2018## begin gnulib module stddef-tests
2019
2020TESTS += test-stddef
2021check_PROGRAMS += test-stddef
2022EXTRA_DIST += test-stddef.c
2023
2024## end   gnulib module stddef-tests
2025
2026## begin gnulib module stdint-tests
2027
2028TESTS += test-stdint
2029check_PROGRAMS += test-stdint
2030EXTRA_DIST += test-stdint.c
2031
2032## end   gnulib module stdint-tests
2033
2034## begin gnulib module stdio-tests
2035
2036TESTS += test-stdio
2037check_PROGRAMS += test-stdio
2038EXTRA_DIST += test-stdio.c
2039
2040## end   gnulib module stdio-tests
2041
2042## begin gnulib module stdlib-tests
2043
2044TESTS += test-stdlib
2045check_PROGRAMS += test-stdlib
2046EXTRA_DIST += test-stdlib.c test-sys_wait.h
2047
2048## end   gnulib module stdlib-tests
2049
2050## begin gnulib module strerror-tests
2051
2052TESTS += test-strerror
2053check_PROGRAMS += test-strerror
2054EXTRA_DIST += test-strerror.c signature.h macros.h
2055
2056## end   gnulib module strerror-tests
2057
2058## begin gnulib module strerror_r-posix
2059
2060
2061EXTRA_DIST += strerror_r.c
2062
2063EXTRA_libtests_a_SOURCES += strerror_r.c
2064
2065## end   gnulib module strerror_r-posix
2066
2067## begin gnulib module strerror_r-posix-tests
2068
2069TESTS += test-strerror_r
2070check_PROGRAMS += test-strerror_r
2071EXTRA_DIST += test-strerror_r.c signature.h macros.h
2072
2073## end   gnulib module strerror_r-posix-tests
2074
2075## begin gnulib module striconv-tests
2076
2077TESTS += test-striconv
2078check_PROGRAMS += test-striconv
2079test_striconv_LDADD = $(LDADD) @LIBICONV@
2080
2081EXTRA_DIST += test-striconv.c macros.h
2082
2083## end   gnulib module striconv-tests
2084
2085## begin gnulib module string-tests
2086
2087TESTS += test-string
2088check_PROGRAMS += test-string
2089EXTRA_DIST += test-string.c
2090
2091## end   gnulib module string-tests
2092
2093## begin gnulib module strncat-tests
2094
2095TESTS += test-strncat
2096check_PROGRAMS += test-strncat
2097EXTRA_DIST += test-strncat.c unistr/test-strncat.h zerosize-ptr.h signature.h macros.h
2098
2099## end   gnulib module strncat-tests
2100
2101## begin gnulib module strnlen-tests
2102
2103TESTS += test-strnlen
2104check_PROGRAMS += test-strnlen
2105EXTRA_DIST += test-strnlen.c zerosize-ptr.h signature.h macros.h
2106
2107## end   gnulib module strnlen-tests
2108
2109## begin gnulib module strsignal-tests
2110
2111TESTS += test-strsignal
2112check_PROGRAMS += test-strsignal
2113test_strsignal_LDADD = $(LDADD) @LIBINTL@ $(LIBTHREAD)
2114EXTRA_DIST += test-strsignal.c signature.h macros.h
2115
2116## end   gnulib module strsignal-tests
2117
2118## begin gnulib module strtod-tests
2119
2120TESTS += test-strtod
2121check_PROGRAMS += test-strtod
2122EXTRA_DIST += test-strtod.c signature.h minus-zero.h macros.h
2123
2124## end   gnulib module strtod-tests
2125
2126## begin gnulib module strtoimax-tests
2127
2128TESTS += test-strtoimax
2129check_PROGRAMS += test-strtoimax
2130EXTRA_DIST += test-strtoimax.c signature.h macros.h
2131
2132## end   gnulib module strtoimax-tests
2133
2134## begin gnulib module strtoll-tests
2135
2136TESTS += test-strtoll
2137check_PROGRAMS += test-strtoll
2138EXTRA_DIST += test-strtoll.c signature.h macros.h
2139
2140## end   gnulib module strtoll-tests
2141
2142## begin gnulib module strtoull-tests
2143
2144TESTS += test-strtoull
2145check_PROGRAMS += test-strtoull
2146EXTRA_DIST += test-strtoull.c signature.h macros.h
2147
2148## end   gnulib module strtoull-tests
2149
2150## begin gnulib module strtoumax-tests
2151
2152TESTS += test-strtoumax
2153check_PROGRAMS += test-strtoumax
2154EXTRA_DIST += test-strtoumax.c signature.h macros.h
2155
2156## end   gnulib module strtoumax-tests
2157
2158## begin gnulib module symlink-tests
2159
2160TESTS += test-symlink
2161check_PROGRAMS += test-symlink
2162EXTRA_DIST += test-symlink.h test-symlink.c signature.h macros.h
2163
2164## end   gnulib module symlink-tests
2165
2166## begin gnulib module symlinkat-tests
2167
2168TESTS += test-symlinkat
2169check_PROGRAMS += test-symlinkat
2170test_symlinkat_LDADD = $(LDADD) @LIBINTL@
2171EXTRA_DIST += test-symlink.h test-symlinkat.c signature.h macros.h
2172
2173## end   gnulib module symlinkat-tests
2174
2175## begin gnulib module sys_ioctl-tests
2176
2177TESTS += test-sys_ioctl
2178check_PROGRAMS += test-sys_ioctl
2179EXTRA_DIST += test-sys_ioctl.c
2180
2181## end   gnulib module sys_ioctl-tests
2182
2183## begin gnulib module sys_resource-tests
2184
2185TESTS += test-sys_resource
2186check_PROGRAMS += test-sys_resource
2187EXTRA_DIST += test-sys_resource.c
2188
2189## end   gnulib module sys_resource-tests
2190
2191## begin gnulib module sys_select-tests
2192
2193TESTS += test-sys_select
2194check_PROGRAMS += test-sys_select
2195EXTRA_DIST += test-sys_select.c signature.h
2196
2197## end   gnulib module sys_select-tests
2198
2199## begin gnulib module sys_socket-tests
2200
2201TESTS += test-sys_socket
2202check_PROGRAMS += test-sys_socket
2203EXTRA_DIST += test-sys_socket.c
2204
2205## end   gnulib module sys_socket-tests
2206
2207## begin gnulib module sys_stat-tests
2208
2209TESTS += test-sys_stat
2210check_PROGRAMS += test-sys_stat
2211EXTRA_DIST += test-sys_stat.c
2212
2213## end   gnulib module sys_stat-tests
2214
2215## begin gnulib module sys_time-tests
2216
2217TESTS += test-sys_time
2218check_PROGRAMS += test-sys_time
2219EXTRA_DIST += test-sys_time.c
2220
2221## end   gnulib module sys_time-tests
2222
2223## begin gnulib module sys_types-tests
2224
2225TESTS += test-sys_types
2226check_PROGRAMS += test-sys_types
2227EXTRA_DIST += test-sys_types.c
2228
2229## end   gnulib module sys_types-tests
2230
2231## begin gnulib module sys_uio-tests
2232
2233TESTS += test-sys_uio
2234check_PROGRAMS += test-sys_uio
2235EXTRA_DIST += test-sys_uio.c
2236
2237## end   gnulib module sys_uio-tests
2238
2239## begin gnulib module sys_utsname-tests
2240
2241TESTS += test-sys_utsname
2242check_PROGRAMS += test-sys_utsname
2243EXTRA_DIST += test-sys_utsname.c
2244
2245## end   gnulib module sys_utsname-tests
2246
2247## begin gnulib module sys_wait-tests
2248
2249TESTS += test-sys_wait
2250check_PROGRAMS += test-sys_wait
2251EXTRA_DIST += test-sys_wait.c test-sys_wait.h
2252
2253## end   gnulib module sys_wait-tests
2254
2255## begin gnulib module termios-tests
2256
2257TESTS += test-termios
2258check_PROGRAMS += test-termios
2259EXTRA_DIST += test-termios.c
2260
2261## end   gnulib module termios-tests
2262
2263## begin gnulib module test-framework-sh-tests
2264
2265TESTS += test-init.sh
2266EXTRA_DIST += init.sh
2267EXTRA_DIST += test-init.sh
2268
2269## end   gnulib module test-framework-sh-tests
2270
2271## begin gnulib module thread
2272
2273libtests_a_SOURCES += glthread/thread.h glthread/thread.c
2274
2275## end   gnulib module thread
2276
2277## begin gnulib module thread-tests
2278
2279TESTS += test-thread_self test-thread_create
2280check_PROGRAMS += test-thread_self test-thread_create
2281test_thread_self_LDADD = $(LDADD) @LIBTHREAD@
2282test_thread_create_LDADD = $(LDADD) @LIBMULTITHREAD@
2283EXTRA_DIST += test-thread_self.c test-thread_create.c macros.h
2284
2285## end   gnulib module thread-tests
2286
2287## begin gnulib module time-tests
2288
2289TESTS += test-time
2290check_PROGRAMS += test-time
2291EXTRA_DIST += test-time.c
2292
2293## end   gnulib module time-tests
2294
2295## begin gnulib module timespec-add
2296
2297libtests_a_SOURCES += timespec-add.c
2298
2299## end   gnulib module timespec-add
2300
2301## begin gnulib module timespec-sub
2302
2303libtests_a_SOURCES += timespec-sub.c
2304
2305## end   gnulib module timespec-sub
2306
2307## begin gnulib module timespec-tests
2308
2309TESTS += test-timespec
2310check_PROGRAMS += test-timespec
2311EXTRA_DIST += test-timespec.c macros.h
2312
2313## end   gnulib module timespec-tests
2314
2315## begin gnulib module tls-tests
2316
2317TESTS += test-tls
2318check_PROGRAMS += test-tls
2319test_tls_LDADD = $(LDADD) @LIBMULTITHREAD@ @YIELD_LIB@
2320
2321EXTRA_DIST += test-tls.c
2322
2323## end   gnulib module tls-tests
2324
2325## begin gnulib module u64-tests
2326
2327TESTS += test-u64
2328check_PROGRAMS += test-u64
2329EXTRA_DIST += test-u64.c
2330
2331## end   gnulib module u64-tests
2332
2333## begin gnulib module uname-tests
2334
2335TESTS += test-uname
2336check_PROGRAMS += test-uname
2337test_uname_LDADD = $(LDADD) @GETHOSTNAME_LIB@
2338EXTRA_DIST += test-uname.c signature.h macros.h
2339
2340## end   gnulib module uname-tests
2341
2342## begin gnulib module unistd-safer-tests
2343
2344TESTS += test-dup-safer
2345check_PROGRAMS += test-dup-safer
2346EXTRA_DIST += test-dup-safer.c macros.h
2347
2348## end   gnulib module unistd-safer-tests
2349
2350## begin gnulib module unistd-tests
2351
2352TESTS += test-unistd
2353check_PROGRAMS += test-unistd
2354EXTRA_DIST += test-unistd.c
2355
2356## end   gnulib module unistd-tests
2357
2358## begin gnulib module unistr/u8-mbtoucr-tests
2359
2360TESTS += test-u8-mbtoucr
2361check_PROGRAMS += test-u8-mbtoucr
2362test_u8_mbtoucr_SOURCES = unistr/test-u8-mbtoucr.c
2363test_u8_mbtoucr_LDADD = $(LDADD) $(LIBUNISTRING)
2364EXTRA_DIST += unistr/test-u8-mbtoucr.c macros.h
2365
2366## end   gnulib module unistr/u8-mbtoucr-tests
2367
2368## begin gnulib module unistr/u8-uctomb-tests
2369
2370TESTS += test-u8-uctomb
2371check_PROGRAMS += test-u8-uctomb
2372test_u8_uctomb_SOURCES = unistr/test-u8-uctomb.c
2373test_u8_uctomb_LDADD = $(LDADD) $(LIBUNISTRING)
2374EXTRA_DIST += unistr/test-u8-uctomb.c macros.h
2375
2376## end   gnulib module unistr/u8-uctomb-tests
2377
2378## begin gnulib module uniwidth/width-tests
2379
2380TESTS += test-uc_width uniwidth/test-uc_width2.sh
2381check_PROGRAMS += test-uc_width test-uc_width2
2382test_uc_width_SOURCES = uniwidth/test-uc_width.c
2383test_uc_width_LDADD = $(LDADD) $(LIBUNISTRING)
2384test_uc_width2_SOURCES = uniwidth/test-uc_width2.c
2385test_uc_width2_LDADD = $(LDADD) $(LIBUNISTRING)
2386EXTRA_DIST += uniwidth/test-uc_width.c uniwidth/test-uc_width2.c uniwidth/test-uc_width2.sh macros.h
2387
2388## end   gnulib module uniwidth/width-tests
2389
2390## begin gnulib module unlink-tests
2391
2392TESTS += test-unlink
2393check_PROGRAMS += test-unlink
2394EXTRA_DIST += test-unlink.h test-unlink.c signature.h macros.h
2395
2396## end   gnulib module unlink-tests
2397
2398## begin gnulib module unlinkat-tests
2399
2400TESTS += test-unlinkat
2401check_PROGRAMS += test-unlinkat
2402test_unlinkat_LDADD = $(LDADD) @LIBINTL@
2403EXTRA_DIST += test-unlinkat.c test-rmdir.h test-unlink.h signature.h macros.h
2404
2405## end   gnulib module unlinkat-tests
2406
2407## begin gnulib module unlinkdir
2408
2409libtests_a_SOURCES += unlinkdir.c
2410
2411EXTRA_DIST += unlinkdir.h
2412
2413## end   gnulib module unlinkdir
2414
2415## begin gnulib module unsetenv-tests
2416
2417TESTS += test-unsetenv
2418check_PROGRAMS += test-unsetenv
2419EXTRA_DIST += test-unsetenv.c signature.h macros.h
2420
2421## end   gnulib module unsetenv-tests
2422
2423## begin gnulib module update-copyright-tests
2424
2425TESTS += test-update-copyright.sh
2426TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
2427EXTRA_DIST += test-update-copyright.sh
2428
2429## end   gnulib module update-copyright-tests
2430
2431## begin gnulib module userspec-tests
2432
2433TESTS += test-userspec
2434check_PROGRAMS += test-userspec
2435test_userspec_LDADD = $(LDADD) @LIBINTL@
2436EXTRA_DIST += test-userspec.c
2437
2438## end   gnulib module userspec-tests
2439
2440## begin gnulib module usleep
2441
2442
2443EXTRA_DIST += usleep.c
2444
2445EXTRA_libtests_a_SOURCES += usleep.c
2446
2447## end   gnulib module usleep
2448
2449## begin gnulib module usleep-tests
2450
2451TESTS += test-usleep
2452check_PROGRAMS += test-usleep
2453EXTRA_DIST += test-usleep.c signature.h macros.h
2454
2455## end   gnulib module usleep-tests
2456
2457## begin gnulib module utime-h-tests
2458
2459TESTS += test-utime-h
2460check_PROGRAMS += test-utime-h
2461EXTRA_DIST += test-utime-h.c
2462
2463## end   gnulib module utime-h-tests
2464
2465## begin gnulib module utime-tests
2466
2467TESTS += test-utime
2468check_PROGRAMS += test-utime
2469test_utime_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@
2470EXTRA_DIST += test-utime.c nap.h test-utimens-common.h macros.h
2471
2472## end   gnulib module utime-tests
2473
2474## begin gnulib module utimens-tests
2475
2476TESTS += test-utimens
2477check_PROGRAMS += test-utimens
2478test_utimens_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@
2479EXTRA_DIST += nap.h test-futimens.h test-lutimens.h test-utimens.h test-utimens-common.h test-utimens.c macros.h
2480
2481## end   gnulib module utimens-tests
2482
2483## begin gnulib module utimensat-tests
2484
2485TESTS += test-utimensat
2486check_PROGRAMS += test-utimensat
2487test_utimensat_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_NANOSLEEP) @LIBINTL@
2488EXTRA_DIST += nap.h test-lutimens.h test-utimens.h test-utimens-common.h test-utimensat.c signature.h macros.h
2489
2490## end   gnulib module utimensat-tests
2491
2492## begin gnulib module vasnprintf-tests
2493
2494TESTS += test-vasnprintf
2495check_PROGRAMS += test-vasnprintf
2496
2497EXTRA_DIST += test-vasnprintf.c macros.h
2498
2499## end   gnulib module vasnprintf-tests
2500
2501## begin gnulib module vasprintf-posix-tests
2502
2503TESTS += test-vasprintf-posix
2504check_PROGRAMS += test-vasprintf-posix
2505
2506EXTRA_DIST += test-vasprintf-posix.c minus-zero.h infinity.h nan.h macros.h
2507
2508## end   gnulib module vasprintf-posix-tests
2509
2510## begin gnulib module vasprintf-tests
2511
2512TESTS += test-vasprintf
2513check_PROGRAMS += test-vasprintf
2514
2515EXTRA_DIST += test-vasprintf.c signature.h macros.h
2516
2517## end   gnulib module vasprintf-tests
2518
2519## begin gnulib module vc-list-files-tests
2520
2521TESTS += test-vc-list-files-git.sh
2522TESTS += test-vc-list-files-cvs.sh
2523TESTS_ENVIRONMENT += abs_aux_dir='$(abs_aux_dir)'
2524EXTRA_DIST += test-vc-list-files-git.sh test-vc-list-files-cvs.sh
2525
2526## end   gnulib module vc-list-files-tests
2527
2528## begin gnulib module verify-tests
2529
2530TESTS_ENVIRONMENT += MAKE='$(MAKE)'
2531TESTS += test-verify test-verify.sh
2532check_PROGRAMS += test-verify
2533# test-verify-try is never built, but test-verify.sh needs a rule to
2534# build test-verify-try.o.
2535EXTRA_PROGRAMS += test-verify-try
2536
2537# This test expects compilation of test-verify-try.c to fail, and
2538# each time it fails, the makefile rule does not perform the usual
2539#  "mv -f $name.Tpo $name.po, so tell make clean to remove that file.
2540MOSTLYCLEANFILES += .deps/test-verify-try.Tpo
2541EXTRA_DIST += test-verify.c test-verify-try.c test-verify.sh
2542
2543## end   gnulib module verify-tests
2544
2545## begin gnulib module version-etc-tests
2546
2547TESTS += test-version-etc.sh
2548check_PROGRAMS += test-version-etc
2549test_version_etc_LDADD = $(LDADD) @LIBINTL@
2550EXTRA_DIST += test-version-etc.c test-version-etc.sh
2551
2552## end   gnulib module version-etc-tests
2553
2554## begin gnulib module vfprintf-posix-tests
2555
2556TESTS += test-vfprintf-posix.sh
2557check_PROGRAMS += test-vfprintf-posix
2558EXTRA_DIST += test-vfprintf-posix.sh test-vfprintf-posix.c test-fprintf-posix.h test-printf-posix.output infinity.h signature.h macros.h
2559
2560## end   gnulib module vfprintf-posix-tests
2561
2562## begin gnulib module vprintf-posix-tests
2563
2564TESTS += test-vprintf-posix.sh
2565check_PROGRAMS += test-vprintf-posix
2566EXTRA_DIST += test-vprintf-posix.sh test-vprintf-posix.c test-printf-posix.h test-printf-posix.output infinity.h signature.h macros.h
2567
2568## end   gnulib module vprintf-posix-tests
2569
2570## begin gnulib module wchar-tests
2571
2572TESTS += test-wchar
2573check_PROGRAMS += test-wchar
2574EXTRA_DIST += test-wchar.c
2575
2576## end   gnulib module wchar-tests
2577
2578## begin gnulib module wcrtomb-tests
2579
2580TESTS += \
2581  test-wcrtomb.sh \
2582  test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh \
2583  test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh
2584TESTS_ENVIRONMENT += \
2585  LOCALE_FR='@LOCALE_FR@' \
2586  LOCALE_FR_UTF8='@LOCALE_FR_UTF8@' \
2587  LOCALE_JA='@LOCALE_JA@' \
2588  LOCALE_ZH_CN='@LOCALE_ZH_CN@'
2589check_PROGRAMS += test-wcrtomb test-wcrtomb-w32
2590
2591EXTRA_DIST += test-wcrtomb.sh test-wcrtomb.c test-wcrtomb-w32-1.sh test-wcrtomb-w32-2.sh test-wcrtomb-w32-3.sh test-wcrtomb-w32-4.sh test-wcrtomb-w32-5.sh test-wcrtomb-w32.c signature.h macros.h
2592
2593## end   gnulib module wcrtomb-tests
2594
2595## begin gnulib module wctob
2596
2597
2598EXTRA_DIST += wctob.c
2599
2600EXTRA_libtests_a_SOURCES += wctob.c
2601
2602## end   gnulib module wctob
2603
2604## begin gnulib module wctomb
2605
2606
2607EXTRA_DIST += wctomb-impl.h wctomb.c
2608
2609EXTRA_libtests_a_SOURCES += wctomb.c
2610
2611## end   gnulib module wctomb
2612
2613## begin gnulib module wctype-h-tests
2614
2615TESTS += test-wctype-h
2616check_PROGRAMS += test-wctype-h
2617EXTRA_DIST += test-wctype-h.c macros.h
2618
2619## end   gnulib module wctype-h-tests
2620
2621## begin gnulib module wcwidth-tests
2622
2623TESTS += test-wcwidth
2624check_PROGRAMS += test-wcwidth
2625test_wcwidth_LDADD = $(LDADD) $(LIBUNISTRING)
2626EXTRA_DIST += test-wcwidth.c signature.h macros.h
2627
2628## end   gnulib module wcwidth-tests
2629
2630## begin gnulib module write-tests
2631
2632TESTS += test-write
2633check_PROGRAMS += test-write
2634EXTRA_DIST += test-write.c signature.h macros.h
2635
2636## end   gnulib module write-tests
2637
2638## begin gnulib module xalloc-die-tests
2639
2640TESTS += test-xalloc-die.sh
2641check_PROGRAMS += test-xalloc-die
2642test_xalloc_die_LDADD = $(LDADD) @LIBINTL@
2643EXTRA_DIST += test-xalloc-die.c test-xalloc-die.sh
2644
2645## end   gnulib module xalloc-die-tests
2646
2647## begin gnulib module xprintf-posix-tests
2648
2649TESTS += test-xprintf-posix.sh
2650check_PROGRAMS += test-xfprintf-posix test-xprintf-posix
2651test_xfprintf_posix_LDADD = $(LDADD) @LIBINTL@
2652test_xprintf_posix_LDADD = $(LDADD) @LIBINTL@
2653EXTRA_DIST += test-xprintf-posix.sh test-xfprintf-posix.c test-xprintf-posix.c test-fprintf-posix.h test-printf-posix.h test-printf-posix.output infinity.h macros.h
2654
2655## end   gnulib module xprintf-posix-tests
2656
2657## begin gnulib module xstrtoimax-tests
2658
2659TESTS += test-xstrtoimax.sh
2660check_PROGRAMS += test-xstrtoimax
2661test_xstrtoimax_LDADD = $(LDADD) @LIBINTL@
2662EXTRA_DIST += test-xstrtoimax.c test-xstrtoimax.sh
2663
2664## end   gnulib module xstrtoimax-tests
2665
2666## begin gnulib module xstrtol-tests
2667
2668TESTS += test-xstrtol.sh
2669check_PROGRAMS += test-xstrtol test-xstrtoul
2670test_xstrtol_LDADD = $(LDADD) @LIBINTL@
2671test_xstrtoul_LDADD = $(LDADD) @LIBINTL@
2672EXTRA_DIST += test-xstrtol.c test-xstrtoul.c test-xstrtol.sh
2673
2674## end   gnulib module xstrtol-tests
2675
2676## begin gnulib module xstrtoumax-tests
2677
2678TESTS += test-xstrtoumax.sh
2679check_PROGRAMS += test-xstrtoumax
2680test_xstrtoumax_LDADD = $(LDADD) @LIBINTL@
2681EXTRA_DIST += test-xstrtoumax.c test-xstrtoumax.sh
2682
2683## end   gnulib module xstrtoumax-tests
2684
2685## begin gnulib module xvasprintf-tests
2686
2687TESTS += test-xvasprintf
2688check_PROGRAMS += test-xvasprintf
2689test_xvasprintf_LDADD = $(LDADD) @LIBINTL@
2690
2691EXTRA_DIST += test-xvasprintf.c macros.h
2692
2693## end   gnulib module xvasprintf-tests
2694
2695## begin gnulib module yesno-tests
2696
2697TESTS += test-yesno.sh
2698check_PROGRAMS += test-yesno
2699test_yesno_LDADD = $(LDADD) @LIBINTL@
2700EXTRA_DIST += test-yesno.c test-yesno.sh
2701
2702## end   gnulib module yesno-tests
2703
2704## begin gnulib module yield
2705
2706libtests_a_SOURCES += glthread/yield.h
2707
2708## end   gnulib module yield
2709
2710# Clean up after Solaris cc.
2711clean-local:
2712	rm -rf SunWS_cache
2713
2714mostlyclean-local: mostlyclean-generic
2715	@for dir in '' $(MOSTLYCLEANDIRS); do \
2716	  if test -n "$$dir" && test -d $$dir; then \
2717	    echo "rmdir $$dir"; rmdir $$dir; \
2718	  fi; \
2719	done; \
2720	:
2721