m4-commit
[Top][All Lists]
Advanced

[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: Wed, 20 Sep 2006 04:04:32 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      06/09/20 04:04:29

Index: tests/options.at
===================================================================
RCS file: /sources/m4/m4/tests/options.at,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- tests/options.at    19 Sep 2006 13:16:08 -0000      1.9
+++ tests/options.at    20 Sep 2006 04:04:29 -0000      1.10
@@ -161,6 +161,12 @@
 ]])
 AT_CHECK([rm trace])
 
+dnl -o will change meaning in the future
+AT_CHECK_M4([-otrace], [0], [],
+[[m4: Warning: -o is deprecated, use --debugfile instead
+]])
+AT_CHECK([rm trace])
+
 AT_CLEANUP
 
 
@@ -244,14 +250,14 @@
 
 AT_SETUP([--safer])
 
-dnl with --safer, debugfile is crippled, but -o is not
+dnl with --safer, the debugfile macro is crippled, but --debugfile is not
 AT_DATA([[in]],
 [[define(`foo', `1')foo
 debugfile(`trace2')
 define(`foo', `2')foo
 ]])
 
-AT_CHECK_M4([--safer -o trace1 -t foo in], [1],
+AT_CHECK_M4([--safer --debugfile trace1 -t foo in], [1],
 [[1
 
 2
@@ -294,7 +300,7 @@
 AT_DATA([[in]], [[foo
 ]])
 
-AT_CHECK_M4([-otrace1 -tfoo -Dfoo=bar in 2>&1], [0], [[bar
+AT_CHECK_M4([--debugfile=trace1 -tfoo -Dfoo=bar in 2>&1], [0], [[bar
 ]])
 
 AT_CHECK_M4([--debugfile=trace2 -tfoo -Dfoo=bar in], [0], [[bar




reply via email to

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