~ubuntu-branches/ubuntu/oneiric/libvirt/oneiric-updates

« back to all changes in this revision

Viewing changes to gnulib/tests/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2011-05-11 12:29:51 UTC
  • mfrom: (1.2.10) (3.4.30 sid)
  • Revision ID: package-import@ubuntu.com-20110511122951-ku5fk1tv37o5aymm
Tags: 0.9.1-1ubuntu1
* Resynchronize and merge from Debian unstable (LP: #794378). Remaining
  changes:
  - debian/control:
    * set X-Python-Version to 2.7, as 2.6 is not in oneiric.
    * set ubuntu maintainer
    * Build-Depends:
      - remove [linux-any] from all dependencies
      - remove [!linux-any] deps
      - swap libxen to libxen3, qemu to qemu-kvm, and open-iscsi to
        open-iscsi-utils in Build-Depends
      - remove virtualbox-ose Build-Depends
      - add parted and libapparmor-dev Build-Depends
    * convert Vcs-Git to Xs-Debian-Vcs-Git
    * libvirt-bin Depends: move netcat-openbsd, bridge-utils, dnsmasq-base
      (>= 2.46-1), and iptables from Recommends to Depends
    * libvirt-bin Recommends: move qemu to Suggests
    * libvirt-bin Suggests: add apparmor
    * libvirt0 Recommands: move lvm2 to Suggests
  - keep debian/libvirt-bin.apport
  - keep debian/libvirt-bin.cron.daily
  - debian/libvirt-bin.dirs:
    * add apparmor, cron.daily, and apport dirs
  - debian/libvirt-bin.examples:
    * add debian/libvirt-suspendonreboot
  - debian/libvirt-bin.install:
    * add /etc/apparmor.d files
    * add apport hook
  - debian/libvirt-bin.manpages:
    * add debian/libvirt-migrate-qemu-disks.1
  - debian/libvirt-bin.postinst:
    * replace libvirt groupname with libvirtd
    * add each admin user to libvirtd group
    * call apparmor_parser on usr.sbin.libvirtd and
      usr.lib.libvirt.virt-aa-helper
    * call 'libvirt-migrate-qemu-disks -a' after
      libvirt-bin has started if migrating from
      older than 0.8.3-1ubuntu1
  - debian/libvirt-bin.postrm:
    * replace libvirt groupname with libvirtd
    * remove usr.sbin.libvirtd and
      usr.lib.libvirt.virt-aa-helper
  - keep added files under debian/:
    * libvirt-bin.upstart
    * libvirt-migrate-qemu-disks
    * libvirt-migrate-qemu-disks.1
    * libvirt-suspendonreboot
    * apparmor profiles
  - debian/README.Debian:
    * add 'Apparmor Profile' section
    * add 'Disk migration' section
  - debian/rules:
    * move include of debhelper.mk to top of file so DEB_HOST_ARCH_OS
      is defined.
    * don't build with vbox since virtualbox-ose is in universe
      - remove WITH_VBOX, add explicit --without-vbox
    * add --with-apparmor to DEB_CONFIGURE_EXTRA_FLAGS
    * set DEB_DH_INSTALLINIT_ARGS to '--upstart-only'
    * remove unneeded binary-install/libvirt-bin:: and clean::
      sections (they only deal with sysvinit stuff)
    * add build/libvirt-bin:: section to install
      - apparmor files
      - apport hooks
      - libvirt-migrate-qemu-disks
* debian/patches/series:
  - don't apply Disable-CHECKSUM-rule.patch: our iptables can do this
  - don't apply Debian-specific Debianize-libvirt-guests.patch (sysvinit only)
  - don't apply Disable qemu-disable-network.diff.patch
* debian/patches:
  - drop 9007-fix-daemon-conf-ftbfs.patch (looks like it may be fixed)
  - drop patches applied upstream:
    * 9022-drop-booton-when-kernel-specified.patch
    * 9023-fix-lxc-console-hangup.patch
    * 9024-fix-broken-commandtest.patch
    * 9025-Pass-virSecurityManagerPtr-to-virSecurityDAC-Set-Res.patch
    * 9026-security-avoid-memory-leak.patch
    * 9027-CVE-2011-1146.patch
  - keep patches:
    * 9000-delayed_iff_up_bridge.patch
    * 9001-dont_clobber_existing_bridges.patch
    * 9002-better_default_uri_virsh.patch
    * 9003-better-default-arch.patch
    * 9004-libvirtd-group-name.patch
    * 9005-increase-unix-socket-timeout.patch
    * 9006-default-config-test-case.patch
    * 9011-move-ebtables-script.patch (refreshed)
    * 9014-skip-nodeinfotest.patch (modified to make it apply)
    * 9020-lp545795.patch (modified to make it still apply)
    * 9021-fix-uint64_t.patch
    * 9022-allows-lxc-containers-with-lxcguest.patch (renamed, modified
      to make it still apply, and added DEP-3 tags).
  - new patches:
    * 9023-disable-test-poll.patch - don't run broken test-poll

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
 
124
124
## end   gnulib module base64-tests
125
125
 
126
 
## begin gnulib module binary-io
127
 
 
128
 
libtests_a_SOURCES += binary-io.h
129
 
 
130
 
## end   gnulib module binary-io
131
 
 
132
126
## begin gnulib module binary-io-tests
133
127
 
134
128
TESTS += test-binary-io.sh
147
141
 
148
142
## end   gnulib module bind
149
143
 
 
144
## begin gnulib module byteswap-tests
 
145
 
 
146
TESTS += test-byteswap
 
147
check_PROGRAMS += test-byteswap
 
148
EXTRA_DIST += test-byteswap.c macros.h
 
149
 
 
150
## end   gnulib module byteswap-tests
 
151
 
150
152
## begin gnulib module c++defs
151
153
 
152
154
# The BUILT_SOURCES created by this Makefile snippet are not used via #include
180
182
 
181
183
## end   gnulib module c-ctype-tests
182
184
 
 
185
## begin gnulib module c-strcase-tests
 
186
 
 
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
 
191
 
 
192
## end   gnulib module c-strcase-tests
 
193
 
 
194
## begin gnulib module c-strcasestr-tests
 
195
 
 
196
TESTS += test-c-strcasestr
 
197
check_PROGRAMS += test-c-strcasestr
 
198
 
 
199
EXTRA_DIST += test-c-strcasestr.c macros.h
 
200
 
 
201
## end   gnulib module c-strcasestr-tests
 
202
 
183
203
## begin gnulib module canonicalize-lgpl-tests
184
204
 
185
205
TESTS += test-canonicalize-lgpl
197
217
 
198
218
## end   gnulib module chown-tests
199
219
 
 
220
## begin gnulib module cloexec-tests
 
221
 
 
222
TESTS += test-cloexec
 
223
check_PROGRAMS += test-cloexec
 
224
EXTRA_DIST += test-cloexec.c macros.h
 
225
 
 
226
## end   gnulib module cloexec-tests
 
227
 
200
228
## begin gnulib module count-one-bits-tests
201
229
 
202
230
TESTS += test-count-one-bits
213
241
 
214
242
## end   gnulib module crypto/md5-tests
215
243
 
 
244
## begin gnulib module dup2-tests
 
245
 
 
246
TESTS += test-dup2
 
247
check_PROGRAMS += test-dup2
 
248
EXTRA_DIST += test-dup2.c signature.h macros.h
 
249
 
 
250
## end   gnulib module dup2-tests
 
251
 
216
252
## begin gnulib module environ-tests
217
253
 
218
254
TESTS += test-environ
248
284
 
249
285
## end   gnulib module exitfail
250
286
 
 
287
## begin gnulib module fatal-signal
 
288
 
 
289
libtests_a_SOURCES += fatal-signal.h fatal-signal.c
 
290
 
 
291
## end   gnulib module fatal-signal
 
292
 
251
293
## begin gnulib module fcntl-h-tests
252
294
 
253
295
TESTS += test-fcntl-h
256
298
 
257
299
## end   gnulib module fcntl-h-tests
258
300
 
 
301
## begin gnulib module fcntl-tests
 
302
 
 
303
TESTS += test-fcntl
 
304
check_PROGRAMS += test-fcntl
 
305
EXTRA_DIST += test-fcntl.c signature.h macros.h
 
306
 
 
307
## end   gnulib module fcntl-tests
 
308
 
259
309
## begin gnulib module fseeko-tests
260
310
 
261
311
TESTS += test-fseeko.sh test-fseeko2.sh
281
331
 
282
332
## end   gnulib module getaddrinfo-tests
283
333
 
 
334
## begin gnulib module getcwd-lgpl-tests
 
335
 
 
336
TESTS += test-getcwd-lgpl
 
337
check_PROGRAMS += test-getcwd-lgpl
 
338
EXTRA_DIST += test-getcwd-lgpl.c signature.h macros.h
 
339
 
 
340
## end   gnulib module getcwd-lgpl-tests
 
341
 
284
342
## begin gnulib module getdelim-tests
285
343
 
286
344
TESTS += test-getdelim
290
348
 
291
349
## end   gnulib module getdelim-tests
292
350
 
 
351
## begin gnulib module getdtablesize-tests
 
352
 
 
353
TESTS += test-getdtablesize
 
354
check_PROGRAMS += test-getdtablesize
 
355
EXTRA_DIST += test-getdtablesize.c signature.h macros.h
 
356
 
 
357
## end   gnulib module getdtablesize-tests
 
358
 
293
359
## begin gnulib module getgroups
294
360
 
295
361
 
334
400
 
335
401
## end   gnulib module getpagesize
336
402
 
 
403
## begin gnulib module getsockname
 
404
 
 
405
 
 
406
EXTRA_DIST += getsockname.c w32sock.h
 
407
 
 
408
EXTRA_libtests_a_SOURCES += getsockname.c
 
409
 
 
410
## end   gnulib module getsockname
 
411
 
 
412
## begin gnulib module getsockopt
 
413
 
 
414
 
 
415
EXTRA_DIST += getsockopt.c w32sock.h
 
416
 
 
417
EXTRA_libtests_a_SOURCES += getsockopt.c
 
418
 
 
419
## end   gnulib module getsockopt
 
420
 
337
421
## begin gnulib module gettimeofday-tests
338
422
 
339
423
TESTS += test-gettimeofday
387
471
 
388
472
## end   gnulib module listen
389
473
 
 
474
## begin gnulib module locale
 
475
 
 
476
BUILT_SOURCES += locale.h
 
477
 
 
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; \
 
497
        } > $@-t && \
 
498
        mv $@-t $@
 
499
MOSTLYCLEANFILES += locale.h locale.h-t
 
500
 
 
501
EXTRA_DIST += locale.in.h
 
502
 
 
503
## end   gnulib module locale
 
504
 
 
505
## begin gnulib module locale-tests
 
506
 
 
507
TESTS += test-locale
 
508
check_PROGRAMS += test-locale
 
509
EXTRA_DIST += test-locale.c
 
510
 
 
511
## end   gnulib module locale-tests
 
512
 
 
513
## begin gnulib module localename
 
514
 
 
515
libtests_a_SOURCES += localename.c
 
516
 
 
517
EXTRA_DIST += localename.h
 
518
 
 
519
## end   gnulib module localename
 
520
 
 
521
## begin gnulib module localename-tests
 
522
 
 
523
TESTS += test-localename
 
524
check_PROGRAMS += test-localename
 
525
test_localename_LDADD = $(LDADD) @INTL_MACOSX_LIBS@
 
526
 
 
527
EXTRA_DIST += test-localename.c macros.h
 
528
 
 
529
## end   gnulib module localename-tests
 
530
 
390
531
## begin gnulib module lock-tests
391
532
 
392
533
TESTS += test-lock
454
595
 
455
596
## end   gnulib module netinet_in-tests
456
597
 
 
598
## begin gnulib module nonblocking-pipe-tests
 
599
 
 
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
 
603
 
 
604
## end   gnulib module nonblocking-pipe-tests
 
605
 
 
606
## begin gnulib module nonblocking-socket-tests
 
607
 
 
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
 
613
 
 
614
## end   gnulib module nonblocking-socket-tests
 
615
 
 
616
## begin gnulib module nonblocking-tests
 
617
 
 
618
TESTS += test-nonblocking
 
619
check_PROGRAMS += test-nonblocking
 
620
test_nonblocking_LDADD = $(LDADD) $(LIBSOCKET)
 
621
EXTRA_DIST += test-nonblocking.c macros.h
 
622
 
 
623
## end   gnulib module nonblocking-tests
 
624
 
457
625
## begin gnulib module open-tests
458
626
 
459
627
TESTS += test-open
462
630
 
463
631
## end   gnulib module open-tests
464
632
 
 
633
## begin gnulib module passfd-tests
 
634
 
 
635
TESTS += test-passfd
 
636
check_PROGRAMS += test-passfd
 
637
test_passfd_LDADD = $(LDADD) @LIBSOCKET@
 
638
EXTRA_DIST += test-passfd.c macros.h
 
639
 
 
640
## end   gnulib module passfd-tests
 
641
 
465
642
## begin gnulib module perror-tests
466
643
 
467
644
TESTS += test-perror.sh
478
655
 
479
656
## end   gnulib module pipe-posix-tests
480
657
 
481
 
## begin gnulib module poll-h-tests
482
 
 
483
 
TESTS += test-poll-h
484
 
check_PROGRAMS += test-poll-h
485
 
EXTRA_DIST += test-poll-h.c
486
 
 
487
 
## end   gnulib module poll-h-tests
488
 
 
489
 
## begin gnulib module poll-tests
490
 
 
491
 
TESTS += test-poll
492
 
check_PROGRAMS += test-poll
493
 
test_poll_LDADD = $(LDADD) @LIBSOCKET@ $(INET_PTON_LIB)
494
 
EXTRA_DIST += signature.h test-poll.c
495
 
 
496
 
## end   gnulib module poll-tests
 
658
## begin gnulib module pipe2-tests
 
659
 
 
660
TESTS += test-pipe2
 
661
check_PROGRAMS += test-pipe2
 
662
test_pipe2_LDADD = $(LDADD) $(LIBSOCKET)
 
663
EXTRA_DIST += test-pipe2.c signature.h macros.h
 
664
 
 
665
## end   gnulib module pipe2-tests
 
666
 
 
667
## begin gnulib module posix_spawn-internal
 
668
 
 
669
 
 
670
EXTRA_DIST += spawn_int.h spawni.c
 
671
 
 
672
EXTRA_libtests_a_SOURCES += spawni.c
 
673
 
 
674
## end   gnulib module posix_spawn-internal
 
675
 
 
676
## begin gnulib module posix_spawn_file_actions_addclose
 
677
 
 
678
 
 
679
EXTRA_DIST += spawn_faction_addclose.c spawn_int.h
 
680
 
 
681
EXTRA_libtests_a_SOURCES += spawn_faction_addclose.c
 
682
 
 
683
## end   gnulib module posix_spawn_file_actions_addclose
 
684
 
 
685
## begin gnulib module posix_spawn_file_actions_adddup2
 
686
 
 
687
 
 
688
EXTRA_DIST += spawn_faction_adddup2.c spawn_int.h
 
689
 
 
690
EXTRA_libtests_a_SOURCES += spawn_faction_adddup2.c
 
691
 
 
692
## end   gnulib module posix_spawn_file_actions_adddup2
 
693
 
 
694
## begin gnulib module posix_spawn_file_actions_addopen
 
695
 
 
696
 
 
697
EXTRA_DIST += spawn_faction_addopen.c spawn_int.h
 
698
 
 
699
EXTRA_libtests_a_SOURCES += spawn_faction_addopen.c
 
700
 
 
701
## end   gnulib module posix_spawn_file_actions_addopen
 
702
 
 
703
## begin gnulib module posix_spawn_file_actions_destroy
 
704
 
 
705
 
 
706
EXTRA_DIST += spawn_faction_destroy.c
 
707
 
 
708
EXTRA_libtests_a_SOURCES += spawn_faction_destroy.c
 
709
 
 
710
## end   gnulib module posix_spawn_file_actions_destroy
 
711
 
 
712
## begin gnulib module posix_spawn_file_actions_init
 
713
 
 
714
 
 
715
EXTRA_DIST += spawn_faction_init.c spawn_int.h
 
716
 
 
717
EXTRA_libtests_a_SOURCES += spawn_faction_init.c
 
718
 
 
719
## end   gnulib module posix_spawn_file_actions_init
 
720
 
 
721
## begin gnulib module posix_spawnattr_destroy
 
722
 
 
723
 
 
724
EXTRA_DIST += spawnattr_destroy.c
 
725
 
 
726
EXTRA_libtests_a_SOURCES += spawnattr_destroy.c
 
727
 
 
728
## end   gnulib module posix_spawnattr_destroy
 
729
 
 
730
## begin gnulib module posix_spawnattr_init
 
731
 
 
732
 
 
733
EXTRA_DIST += spawnattr_init.c
 
734
 
 
735
EXTRA_libtests_a_SOURCES += spawnattr_init.c
 
736
 
 
737
## end   gnulib module posix_spawnattr_init
 
738
 
 
739
## begin gnulib module posix_spawnattr_setflags
 
740
 
 
741
 
 
742
EXTRA_DIST += spawnattr_setflags.c
 
743
 
 
744
EXTRA_libtests_a_SOURCES += spawnattr_setflags.c
 
745
 
 
746
## end   gnulib module posix_spawnattr_setflags
 
747
 
 
748
## begin gnulib module posix_spawnattr_setsigmask
 
749
 
 
750
 
 
751
EXTRA_DIST += spawnattr_setsigmask.c
 
752
 
 
753
EXTRA_libtests_a_SOURCES += spawnattr_setsigmask.c
 
754
 
 
755
## end   gnulib module posix_spawnattr_setsigmask
 
756
 
 
757
## begin gnulib module posix_spawnp
 
758
 
 
759
 
 
760
EXTRA_DIST += spawnp.c
 
761
 
 
762
EXTRA_libtests_a_SOURCES += spawnp.c
 
763
 
 
764
## end   gnulib module posix_spawnp
 
765
 
 
766
## begin gnulib module posix_spawnp-tests
 
767
 
 
768
if POSIX_SPAWN_PORTED
 
769
TESTS += test-posix_spawn1 test-posix_spawn2
 
770
check_PROGRAMS += test-posix_spawn1 test-posix_spawn2
 
771
 
 
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 && \
 
776
        mv $@-t $@
 
777
MOSTLYCLEANFILES += test-posix_spawn1.sh test-posix_spawn1.sh-t
 
778
 
 
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 && \
 
783
        mv $@-t $@
 
784
MOSTLYCLEANFILES += test-posix_spawn2.sh test-posix_spawn2.sh-t
 
785
endif
 
786
EXTRA_DIST += test-posix_spawn1.c test-posix_spawn1.in.sh test-posix_spawn2.c test-posix_spawn2.in.sh signature.h
 
787
 
 
788
## end   gnulib module posix_spawnp-tests
497
789
 
498
790
## begin gnulib module progname
499
791
 
526
818
 
527
819
## end   gnulib module rawmemchr-tests
528
820
 
 
821
## begin gnulib module read
 
822
 
 
823
 
 
824
EXTRA_DIST += read.c
 
825
 
 
826
EXTRA_libtests_a_SOURCES += read.c
 
827
 
 
828
## end   gnulib module read
 
829
 
529
830
## begin gnulib module readlink-tests
530
831
 
531
832
TESTS += test-readlink
578
879
 
579
880
## end   gnulib module select-tests
580
881
 
 
882
## begin gnulib module setenv
 
883
 
 
884
 
 
885
EXTRA_DIST += setenv.c
 
886
 
 
887
EXTRA_libtests_a_SOURCES += setenv.c
 
888
 
 
889
## end   gnulib module setenv
 
890
 
 
891
## begin gnulib module setenv-tests
 
892
 
 
893
TESTS += test-setenv
 
894
check_PROGRAMS += test-setenv
 
895
EXTRA_DIST += test-setenv.c signature.h macros.h
 
896
 
 
897
## end   gnulib module setenv-tests
 
898
 
 
899
## begin gnulib module setlocale
 
900
 
 
901
 
 
902
EXTRA_DIST += setlocale.c
 
903
 
 
904
EXTRA_libtests_a_SOURCES += setlocale.c
 
905
 
 
906
## end   gnulib module setlocale
 
907
 
 
908
## begin gnulib module setlocale-tests
 
909
 
 
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
 
918
 
 
919
## end   gnulib module setlocale-tests
 
920
 
581
921
## begin gnulib module sigaction-tests
582
922
 
583
923
TESTS += test-sigaction
629
969
 
630
970
## end   gnulib module sockets-tests
631
971
 
 
972
## begin gnulib module spawn
 
973
 
 
974
BUILT_SOURCES += spawn.h
 
975
 
 
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; \
 
1015
        } > $@-t && \
 
1016
        mv $@-t $@
 
1017
MOSTLYCLEANFILES += spawn.h spawn.h-t
 
1018
 
 
1019
EXTRA_DIST += spawn.in.h
 
1020
 
 
1021
## end   gnulib module spawn
 
1022
 
 
1023
## begin gnulib module spawn-tests
 
1024
 
 
1025
TESTS += test-spawn
 
1026
check_PROGRAMS += test-spawn
 
1027
EXTRA_DIST += test-spawn.c
 
1028
 
 
1029
## end   gnulib module spawn-tests
 
1030
 
632
1031
## begin gnulib module stat-tests
633
1032
 
634
1033
TESTS += test-stat
724
1123
 
725
1124
## end   gnulib module string-tests
726
1125
 
727
 
## begin gnulib module strings-tests
728
 
 
729
 
TESTS += test-strings
730
 
check_PROGRAMS += test-strings
731
 
EXTRA_DIST += test-strings.c
732
 
 
733
 
## end   gnulib module strings-tests
734
 
 
735
1126
## begin gnulib module strnlen-tests
736
1127
 
737
1128
TESTS += test-strnlen
797
1188
 
798
1189
## end   gnulib module sys_time-tests
799
1190
 
 
1191
## begin gnulib module sys_uio-tests
 
1192
 
 
1193
TESTS += test-sys_uio
 
1194
check_PROGRAMS += test-sys_uio
 
1195
EXTRA_DIST += test-sys_uio.c
 
1196
 
 
1197
## end   gnulib module sys_uio-tests
 
1198
 
800
1199
## begin gnulib module sys_utsname-tests
801
1200
 
802
1201
TESTS += test-sys_utsname
913
1312
 
914
1313
## end   gnulib module verify-tests
915
1314
 
 
1315
## begin gnulib module vsnprintf
 
1316
 
 
1317
 
 
1318
EXTRA_DIST += vsnprintf.c
 
1319
 
 
1320
EXTRA_libtests_a_SOURCES += vsnprintf.c
 
1321
 
 
1322
## end   gnulib module vsnprintf
 
1323
 
 
1324
## begin gnulib module vsnprintf-tests
 
1325
 
 
1326
TESTS += test-vsnprintf
 
1327
check_PROGRAMS += test-vsnprintf
 
1328
 
 
1329
EXTRA_DIST += test-vsnprintf.c signature.h macros.h
 
1330
 
 
1331
## end   gnulib module vsnprintf-tests
 
1332
 
 
1333
## begin gnulib module wait-process
 
1334
 
 
1335
libtests_a_SOURCES += wait-process.h wait-process.c
 
1336
 
 
1337
## end   gnulib module wait-process
 
1338
 
916
1339
## begin gnulib module warn-on-use
917
1340
 
918
1341
BUILT_SOURCES += warn-on-use.h
973
1396
 
974
1397
## end   gnulib module xalloc-die-tests
975
1398
 
 
1399
## begin gnulib module xalloc-oversized
 
1400
 
 
1401
 
 
1402
EXTRA_DIST += xalloc-oversized.h
 
1403
 
 
1404
## end   gnulib module xalloc-oversized
 
1405
 
976
1406
## begin gnulib module yield
977
1407
 
978
1408
libtests_a_SOURCES += glthread/yield.h