[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/tests/options.at,v
From: |
Eric Blake |
Subject: |
Changes to m4/tests/options.at,v |
Date: |
Tue, 19 Sep 2006 13:16:10 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 06/09/19 13:16:08
Index: tests/options.at
===================================================================
RCS file: /sources/m4/m4/tests/options.at,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- tests/options.at 15 Sep 2006 03:37:54 -0000 1.8
+++ tests/options.at 19 Sep 2006 13:16:08 -0000 1.9
@@ -155,6 +155,12 @@
[[m4: Warning: recommend using `m4 -B ./1' instead
]])
+dnl --error-output is a misleading name
+AT_CHECK_M4([--error-output=trace], [0], [],
+[[m4: Warning: --error-output is deprecated, use --debugfile instead
+]])
+AT_CHECK([rm trace])
+
AT_CLEANUP
@@ -274,3 +280,26 @@
])
AT_CLEANUP
+
+
+## --------- ##
+## debugfile ##
+## --------- ##
+
+AT_SETUP([--debugfile])
+
+dnl For a while, CVS m4 mistakenly replaced debug output with stdout
+dnl when stdout and stderr were the same file.
+
+AT_DATA([[in]], [[foo
+]])
+
+AT_CHECK_M4([-otrace1 -tfoo -Dfoo=bar in 2>&1], [0], [[bar
+]])
+
+AT_CHECK_M4([--debugfile=trace2 -tfoo -Dfoo=bar in], [0], [[bar
+]])
+
+AT_CHECK([cmp trace1 trace2])
+
+AT_CLEANUP
- Changes to m4/tests/options.at,v, Eric Blake, 2006/09/05
- Changes to m4/tests/options.at,v, Eric Blake, 2006/09/14
- Changes to m4/tests/options.at,v,
Eric Blake <=
- Changes to m4/tests/options.at,v, Eric Blake, 2006/09/20
- Changes to m4/tests/options.at,v, Eric Blake, 2006/09/21
- Changes to m4/tests/options.at,v, Eric Blake, 2006/09/21
- Changes to m4/tests/options.at,v, Eric Blake, 2006/09/28
- Changes to m4/tests/options.at,v, Eric Blake, 2006/09/29
- Changes to m4/tests/options.at,v, Eric Blake, 2006/09/29