/[autoconf]/autoconf/tests/m4sugar.at
ViewVC logotype

Diff of /autoconf/tests/m4sugar.at

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21 by akim, Thu Aug 29 08:03:10 2002 UTC revision 1.22 by akim, Fri Oct 18 15:20:46 2002 UTC
# Line 61  AT_CHECK_M4SUGAR([-o- -Wnone,bar -f], 0, Line 61  AT_CHECK_M4SUGAR([-o- -Wnone,bar -f], 0,
61  [script.4s:2: warning: bar  [script.4s:2: warning: bar
62  ])  ])
63    
64  AT_CHECK_M4SUGAR([-o- -Wnone,bar,error -f], 1, [], [stderr])  AT_CHECK_M4SUGAR([-o- -Wnone,bar,error -f], 1, [],
 # The error message contains the path to m4, which might change.  
 AT_CHECK([sed 's/^autom4te.*failed/autom4te: m4 failed/' stderr], 0,  
65  [[script.4s:2: error: bar  [[script.4s:2: error: bar
66  script.4s:2: the top level  script.4s:2: the top level
67  autom4te: m4 failed with exit status: 1  autom4te: m4 failed with exit status: 1
# Line 96  m4_init Line 94  m4_init
94  baz  baz
95  ]])  ]])
96    
97  # Expected stderr.  AT_CHECK_M4SUGAR([], 1, [],
98  AT_DATA_M4SUGAR([expout],  [[script.4s:11: error: m4@&t@_require: circular dependency of foo
 [[script.4s:11: error: m4_require: circular dependency of foo  
99  script.4s:11: foo is required by...  script.4s:11: foo is required by...
100  script.4s:5: bar is expanded from...  script.4s:5: bar is expanded from...
101  script.4s:11: bar is required by...  script.4s:11: bar is required by...
# Line 108  script.4s:8: baz is expanded from... Line 105  script.4s:8: baz is expanded from...
105  script.4s:11: the top level  script.4s:11: the top level
106  autom4te: m4 failed with exit status: 1  autom4te: m4 failed with exit status: 1
107  ]])  ]])
   
 AT_CHECK_M4SUGAR([], 1, [], stderr)  
 # The error message contains the path to m4, which might change.  
 AT_CHECK([sed 's/^autom4te.*failed/autom4te: m4 failed/' stderr], 0, [expout])  
108  AT_CLEANUP  AT_CLEANUP
109    
110    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26