Fix missing redirects in testsuite targets
authorAndreas Schwab <schwab@suse.de>
Mon, 7 Aug 2017 15:11:10 +0000 (17:11 +0200)
committerAndreas Schwab <schwab@suse.de>
Mon, 7 Aug 2017 16:13:36 +0000 (18:13 +0200)
12 files changed:
ChangeLog
elf/Makefile
grp/Makefile
intl/Makefile
libio/Makefile
localedata/ChangeLog
localedata/Makefile
malloc/Makefile
nptl/Makefile
posix/Makefile
stdio-common/Makefile
stdlib/Makefile

index 5caffcd..908da88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2017-08-07  Andreas Schwab  <schwab@suse.de>
+
+       * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
+       * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
+       * intl/Makefile ($(objpfx)tst-gettext.out)
+       ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
+       ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
+       * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
+       * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
+       * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
+       * posix/Makefile ($(objpfx)globtest.out)
+       ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
+       * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
+       ($(objpfx)tst-printf.out): Likewise.
+       * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
+       ($(objpfx)tst-setcontext3.out): Likewise.
+
 2017-08-07  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
index 828daaa..b54ebf8 100644 (file)
@@ -849,7 +849,7 @@ $(objpfx)tst-pathopt: $(libdl)
 $(objpfx)tst-pathopt.out: tst-pathopt.sh $(objpfx)tst-pathopt \
                          $(objpfx)pathoptobj.so
        $(SHELL) $< $(common-objpfx) '$(test-wrapper-env)' \
-                '$(run-program-env)'; \
+                '$(run-program-env)' > $@; \
        $(evaluate-test)
 
 $(objpfx)tst-rtld-load-self.out: tst-rtld-load-self.sh $(objpfx)ld.so
index 7828e77..342da4f 100644 (file)
@@ -59,7 +59,7 @@ ifeq ($(run-built-tests),yes)
 # tst_fgetgrent currently only works with shared libraries
 ifeq (yes,$(build-shared))
 $(objpfx)tst_fgetgrent.out: tst_fgetgrent.sh $(objpfx)tst_fgetgrent
-       $(SHELL) $< $(common-objpfx) '$(test-program-prefix)'; \
+       $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' > $@; \
        $(evaluate-test)
 
 endif
index 60d5d24..c8bec9b 100644 (file)
@@ -83,22 +83,22 @@ $(objpfx)mtrace-tst-gettext.out: $(objpfx)tst-gettext.out
 $(objpfx)tst-gettext.out: tst-gettext.sh $(objpfx)tst-gettext
        $(SHELL) $< $(common-objpfx) '$(test-program-prefix-before-env)' \
          '$(run-program-env)' '$(test-program-prefix-after-env)' \
-         $(common-objpfx)intl/ $(objpfx)tst-gettext.mtrace; \
+         $(common-objpfx)intl/ $(objpfx)tst-gettext.mtrace > $@; \
        $(evaluate-test)
 $(objpfx)tst-translit.out: tst-translit.sh $(objpfx)tst-translit
        $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' \
-         $(common-objpfx)intl/; \
+         $(common-objpfx)intl/ > $@; \
        $(evaluate-test)
 $(objpfx)tst-gettext2.out: tst-gettext2.sh $(objpfx)tst-gettext2
        $(SHELL) $< $(common-objpfx) '$(test-program-prefix-before-env)' \
          '$(run-program-env)' '$(test-program-prefix-after-env)' \
-         $(common-objpfx)intl/; \
+         $(common-objpfx)intl/ > $@; \
        $(evaluate-test)
 $(objpfx)tst-gettext4.out: tst-gettext4.sh $(objpfx)tst-gettext4
-       $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' $(common-objpfx)intl/; \
+       $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' $(common-objpfx)intl/ > $@; \
        $(evaluate-test)
 $(objpfx)tst-gettext6.out: tst-gettext6.sh $(objpfx)tst-gettext6
-       $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' $(common-objpfx)intl/; \
+       $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' $(common-objpfx)intl/ > $@; \
        $(evaluate-test)
 
 $(objpfx)tst-codeset.out: $(codeset_mo)
index a002a33..9d09bd8 100644 (file)
@@ -203,7 +203,7 @@ endif
 
 $(objpfx)test-freopen.out: test-freopen.sh $(objpfx)test-freopen
        $(SHELL) $< $(common-objpfx) '$(test-program-prefix)'   \
-       $(common-objpfx)libio/; \
+       $(common-objpfx)libio/ > $@; \
        $(evaluate-test)
 
 $(objpfx)tst-fopenloc-cmp.out: ../iconvdata/testdata/ISO-8859-1..UTF8 \
index 7894965..602526e 100644 (file)
@@ -1,3 +1,8 @@
+2017-08-07  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile ($(objpfx)tst-trans.out)
+       ($(objpfx)tst-ctype.out): Redirect output to target.
+
 2017-08-03  Mike FABIAN  <mfabian@redhat.com>
 
        For the locales doi_IN,  kok_IN, and sat_IN, the words for
index 9db9464..84dbc5a 100644 (file)
@@ -164,13 +164,13 @@ $(objpfx)tst-trans.out: tst-trans.sh $(objpfx)tst-trans \
        $(SHELL) $< $(common-objpfx) '$(run-program-prefix-before-env)' \
                 '$(run-program-env)' '$(run-program-prefix-after-env)' \
                 '$(test-program-prefix-before-env)' \
-                '$(test-program-prefix-after-env)'; \
+                '$(test-program-prefix-after-env)' > $@; \
        $(evaluate-test)
 $(objpfx)tst-ctype.out: tst-ctype.sh $(objpfx)tst-ctype \
                        $(objpfx)sort-test.out \
                        $(addprefix $(objpfx),$(CTYPE_FILES))
        $(SHELL) $< $(common-objpfx) '$(test-program-cmd-before-env)' \
-                '$(run-program-env)' '$(test-program-cmd-after-env)'; \
+                '$(run-program-env)' '$(test-program-cmd-after-env)' > $@; \
        $(evaluate-test)
 $(objpfx)tst-langinfo.out: tst-langinfo.sh $(objpfx)tst-langinfo \
                        $(objpfx)sort-test.out \
index 3fa395b..50b487e 100644 (file)
@@ -177,7 +177,7 @@ ifeq (yes,$(build-shared))
 ifneq ($(PERL),no)
 $(objpfx)tst-mtrace.out: tst-mtrace.sh $(objpfx)tst-mtrace
        $(SHELL) $< $(common-objpfx) '$(test-program-prefix-before-env)' \
-                '$(run-program-env)' '$(test-program-prefix-after-env)' ; \
+                '$(run-program-env)' '$(test-program-prefix-after-env)' > $@; \
        $(evaluate-test)
 endif
 endif
index 5cb1bb2..128a52e 100644 (file)
@@ -592,7 +592,7 @@ $(objpfx)tst-tls6.out: tst-tls6.sh $(objpfx)tst-tls5 \
                       $(objpfx)tst-tls5modc.so $(objpfx)tst-tls5modd.so \
                       $(objpfx)tst-tls5mode.so $(objpfx)tst-tls5modf.so
        $(BASH) $< $(common-objpfx) '$(test-via-rtld-prefix)' \
-         '$(test-wrapper-env)' '$(run-program-env)'; \
+         '$(test-wrapper-env)' '$(run-program-env)' > $@; \
        $(evaluate-test)
 endif
 
index 33abcae..9b534f0 100644 (file)
@@ -152,11 +152,11 @@ ifeq ($(run-built-tests),yes)
 ifeq (yes,$(build-shared))
 $(objpfx)globtest.out: globtest.sh $(objpfx)globtest
        $(SHELL) $< $(common-objpfx) '$(test-via-rtld-prefix)' \
-               '$(test-program-prefix)' '$(test-wrapper-env)'; \
+               '$(test-program-prefix)' '$(test-wrapper-env)' > $@; \
        $(evaluate-test)
 $(objpfx)wordexp-tst.out: wordexp-tst.sh $(objpfx)wordexp-test
        $(SHELL) $< $(common-objpfx) '$(test-program-prefix-before-env)' \
-                '$(run-program-env)' '$(test-program-prefix-after-env)'; \
+                '$(run-program-env)' '$(test-program-prefix-after-env)' > $@; \
        $(evaluate-test)
 endif
 
@@ -335,7 +335,7 @@ $(objpfx)tst-boost-mem.out: $(objpfx)tst-boost.out
        $(evaluate-test)
 
 $(objpfx)tst-getconf.out: tst-getconf.sh $(objpfx)getconf
-       $(SHELL) $< $(common-objpfx) '$(built-program-cmd)'; \
+       $(SHELL) $< $(common-objpfx) '$(built-program-cmd)' > $@; \
        $(evaluate-test)
 
 $(objpfx)bug-ga2-mem.out: $(objpfx)bug-ga2.out
index 622a85f..397e0c2 100644 (file)
@@ -95,11 +95,11 @@ tst-vfprintf-width-prec-ENV = \
   MALLOC_TRACE=$(objpfx)tst-vfprintf-width-prec.mtrace
 
 $(objpfx)tst-unbputc.out: tst-unbputc.sh $(objpfx)tst-unbputc
-       $(SHELL) $< $(common-objpfx) '$(test-program-prefix)'; \
+       $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' > $@; \
        $(evaluate-test)
 
 $(objpfx)tst-printf.out: tst-printf.sh $(objpfx)tst-printf
-       $(SHELL) $< $(common-objpfx) '$(test-program-prefix)'; \
+       $(SHELL) $< $(common-objpfx) '$(test-program-prefix)' > $@; \
        $(evaluate-test)
 
 # We generate this source because it requires a printf invocation with
index 0314d59..4d90e14 100644 (file)
@@ -177,7 +177,7 @@ bug-fmtmsg1-ENV = SEV_LEVEL=foo,11,newsev
 
 $(objpfx)isomac.out: $(objpfx)isomac
        $(dir $<)$(notdir $<) '$(CC)'  \
-       '-I../include $(+sysdep-includes) $(sysincludes) -I..' > $<.out; \
+       '-I../include $(+sysdep-includes) $(sysincludes) -I..' > $@; \
        $(evaluate-test)
 
 isomac-CFLAGS = -O
@@ -187,7 +187,7 @@ $(objpfx)isomac: isomac.c
 $(objpfx)tst-fmtmsg.out: tst-fmtmsg.sh $(objpfx)tst-fmtmsg
        $(SHELL) $< $(common-objpfx) '$(test-program-prefix-before-env)' \
                 '$(run-program-env)' '$(test-program-prefix-after-env)' \
-                $(common-objpfx)stdlib/; \
+                $(common-objpfx)stdlib/ > $@; \
        $(evaluate-test)
 
 $(objpfx)tst-putenv: $(objpfx)tst-putenvmod.so
@@ -216,7 +216,7 @@ $(objpfx)tst-tls-atexit-nodelete.out: $(objpfx)tst-tls-atexit-lib.so
 $(objpfx)tst-setcontext3.out: tst-setcontext3.sh $(objpfx)tst-setcontext3
        $(SHELL) $< $(common-objpfx) '$(test-program-prefix-before-env)' \
                 '$(run-program-env)' '$(test-program-prefix-after-env)' \
-                $(common-objpfx)stdlib/; \
+                $(common-objpfx)stdlib/ > $@; \
        $(evaluate-test)
 
 $(objpfx)tst-makecontext: $(libdl)