automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-commit] [SCM] GNU Automake branch, master, updated. Release-1-


From: Ralf Wildenhues
Subject: [Automake-commit] [SCM] GNU Automake branch, master, updated. Release-1-10-271-gf55440a
Date: Sat, 07 Mar 2009 06:48:25 +0000

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 Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=f55440a1497d8653b01324d74a4418a1847146f6

The branch, master has been updated
       via  f55440a1497d8653b01324d74a4418a1847146f6 (commit)
      from  eb3945795c35cfbdc02cacb6a1f45f7b0606a5b1 (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 -----------------------------------------------------------------
commit f55440a1497d8653b01324d74a4418a1847146f6
Author: Ralf Wildenhues <address@hidden>
Date:   Sat Mar 7 07:40:06 2009 +0100

    Solaris make testsuite fixes.
    
    * tests/check10.test: When a rule fails, Solaris make will
    output the complete command that failed; in this case the test
    suite driver.  Adjust the test to not bogusly match lines from
    the driver, rather than its output.
    * tests/distcleancheck.test: Avoid triggering VPATH rewriting,
    not desirable in this test.
    * tests/specflg10.test: Use BUILT_SOURCES to specify an
    intermediate target, so Solaris make knows what to do.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

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

Summary of changes:
 ChangeLog                 |   10 ++++++++++
 tests/check10.test        |    7 +++----
 tests/distcleancheck.test |    6 ++++--
 tests/specflg10.test      |    3 ++-
 4 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 658832f..3625020 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2009-03-07  Ralf Wildenhues  <address@hidden>
 
+       Solaris make testsuite fixes.
+       * tests/check10.test: When a rule fails, Solaris make will
+       output the complete command that failed; in this case the test
+       suite driver.  Adjust the test to not bogusly match lines from
+       the driver, rather than its output.
+       * tests/distcleancheck.test: Avoid triggering VPATH rewriting,
+       not desirable in this test.
+       * tests/specflg10.test: Use BUILT_SOURCES to specify an
+       intermediate target, so Solaris make knows what to do.
+
        testsuite: SKIP compile tests if configure found no compiler.
        * tests/depend6.test: configure will exit 77 if AC_PROG_CC found
        no working compiler.  Allow the test to be SKIPped in that case.
diff --git a/tests/check10.test b/tests/check10.test
index 138331c..d0f1b60 100755
--- a/tests/check10.test
+++ b/tests/check10.test
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2008  Free Software Foundation, Inc.
+# Copyright (C) 2008, 2009  Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -77,11 +77,10 @@ unset TESTS || :
 cat stdout
 
 grep '1 [tT]ests' stdout && Exit 1
-grep '^[^1]* [tT]est ' stdout && Exit 1
+grep '[02-9] [tT]est ' stdout && Exit 1
 grep '1 .* were ' stdout && Exit 1
-grep '^[^1]* was' stdout && Exit 1
+grep '[02-9].* was .*run' stdout && Exit 1
 grep 'All 1 ' stdout && Exit 1
-grep '^ .*[tT]est' stdout && Exit 1
 $EGREP '1 (un)?expected (failures|passes)' stdout && Exit 1
 $EGREP '[^1] (un)?expected (failure|pass)\)' stdout && Exit 1
 
diff --git a/tests/distcleancheck.test b/tests/distcleancheck.test
index 5f66a12..31ffec8 100755
--- a/tests/distcleancheck.test
+++ b/tests/distcleancheck.test
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2008  Free Software Foundation, Inc.
+# Copyright (C) 2008, 2009  Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -33,8 +33,10 @@ bin_PROGRAMS = foo
 foo_SOURCES = foo.c
 dist_man_MANS = foo.1
 
+# We write `./foo.1' inside the rule on purpose, to avoid VPATH rewriting
+# done by some `make' implementations.
 foo.1: foo$(EXEEXT)
-       echo man page for foo$(EXEEXT) > foo.1
+       echo man page for foo$(EXEEXT) > ./foo.1
 
 ## Ignore warnings about overridden variables
 AUTOMAKE_OPTIONS = -Wno-override
diff --git a/tests/specflg10.test b/tests/specflg10.test
index 23a7e64..b7d8442 100755
--- a/tests/specflg10.test
+++ b/tests/specflg10.test
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2008  Free Software Foundation, Inc.
+# Copyright (C) 2008, 2009  Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -48,6 +48,7 @@ endif
 SUFFIXES = .foo .c
 .foo.c:
        cat $< >$@
+BUILT_SOURCES = bla.c
 CLEANFILES = bla.c
 END
 


hooks/post-receive
--
GNU Automake




reply via email to

[Prev in Thread] Current Thread [Next in Thread]