autoconf-patches
[Top][All Lists]
Advanced

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

FYI: 15-test-stderr.patch


From: Akim Demaille
Subject: FYI: 15-test-stderr.patch
Date: 31 Oct 2000 09:47:00 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * tests/atgeneral.m4 (AT_CHECK): Check stderr first, since if both
        stdout and stderr fail, differences on the latter are probably
        more significant than on the former.
        
        
Index: tests/atgeneral.m4
--- tests/atgeneral.m4 Sun, 29 Oct 2000 23:56:26 +0100 akim 
(ace/b/19_atgeneral. 1.13 664)
+++ tests/atgeneral.m4 Tue, 31 Oct 2000 04:05:52 +0100 akim 
(ace/b/19_atgeneral. 1.13 664)
@@ -406,18 +406,18 @@ define([AT_UNDEFINE], defn([undefine]))
 dnl If not verbose, neutralize the output of diff.
   $at_verbose || exec 1>/dev/null 2>/dev/null
   at_failed=false;
-  AT_CASE([$3],
-          ignore, [$at_verbose && cat stdout;:],
-          expout, [AT_DEFINE([AT_data_expout], [ expout])dnl
-$at_diff expout stdout || at_failed=:],
-          [], [$at_diff empty stdout || at_failed=:],
-          [echo $at_n "patsubst([$3], [\([\"`$]\)], \\\1)$at_c" | $at_diff - 
stdout || at_failed=:])
   AT_CASE([$4],
           ignore, [$at_verbose && cat stderr;:],
           experr, [AT_DEFINE([AT_data_experr], [ experr])dnl
 $at_diff experr stderr || at_failed=:],
           [], [$at_diff empty stderr || at_failed=:],
           [echo $at_n "patsubst([$4], [\([\"`$]\)], \\\1)$at_c" | $at_diff - 
stderr || at_failed=:])
+  AT_CASE([$3],
+          ignore, [$at_verbose && cat stdout;:],
+          expout, [AT_DEFINE([AT_data_expout], [ expout])dnl
+$at_diff expout stdout || at_failed=:],
+          [], [$at_diff empty stdout || at_failed=:],
+          [echo $at_n "patsubst([$3], [\([\"`$]\)], \\\1)$at_c" | $at_diff - 
stdout || at_failed=:])
   if $at_failed; then
     exit 1
   else



reply via email to

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