This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.19-46-ga2c4c19


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  a2c4c1991d11811c054fa7d380d522865741fd86 (commit)
      from  8756f74004e73ce9276b9ab698f5043f6e7ffcd7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=a2c4c1991d11811c054fa7d380d522865741fd86

commit a2c4c1991d11811c054fa7d380d522865741fd86
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Feb 12 22:19:20 2014 +0000

    Remove indirection in stdio-common tests dependencies.
    
    stdio-common/Makefile has the tests target depend on two test output
    files indirectly through rules do-tst-unbputc and do-tst-printf.  I
    see no reason for such an indirection, and everywhere else the tests
    just depend on the output files directly, so this patch removes the
    indirection.
    
    Tested x86_64.
    
    	* stdio-common/Makefile (do-tst-unbputc): Remove target.
    	(do-tst-printf): Likewise.
    	(tests): Depend directly on $(objpfx)tst-unbputc.out and
    	$(objpfx)tst-printf.out.

diff --git a/ChangeLog b/ChangeLog
index 006ca7d..40ff844 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
 
+	* stdio-common/Makefile (do-tst-unbputc): Remove target.
+	(do-tst-printf): Likewise.
+	(tests): Depend directly on $(objpfx)tst-unbputc.out and
+	$(objpfx)tst-printf.out.
+
 	* io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
 
 	* Makerules (check-abi-%): Change target to
diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 76eccb0..fb35f43 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -64,14 +64,11 @@ test-srcs = tst-unbputc tst-printf
 include ../Rules
 
 ifeq ($(run-built-tests),yes)
-.PHONY: do-tst-unbputc do-tst-printf
-tests: do-tst-unbputc do-tst-printf
+tests: $(objpfx)tst-unbputc.out $(objpfx)tst-printf.out
 
-do-tst-unbputc: $(objpfx)tst-unbputc.out
 $(objpfx)tst-unbputc.out: tst-unbputc.sh $(objpfx)tst-unbputc
 	$(SHELL) $< $(common-objpfx) '$(test-program-prefix)'
 
-do-tst-printf: $(objpfx)tst-printf.out
 $(objpfx)tst-printf.out: tst-printf.sh $(objpfx)tst-printf
 	$(SHELL) $< $(common-objpfx) '$(test-program-prefix)'
 endif

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             |    5 +++++
 stdio-common/Makefile |    5 +----
 2 files changed, 6 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]