mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-24 10:54:42 +08:00
Factorize m4 warning output normalization.
* tests/local.at (AT_CHECK_M4): Factorize warning output normalization. Suggested by Eric Blake. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
parent
6a6062d59b
commit
70684ede3e
@ -1,3 +1,9 @@
|
||||
2008-03-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* tests/local.at (AT_CHECK_M4): Factorize warning output
|
||||
normalization.
|
||||
Suggested by Eric Blake.
|
||||
|
||||
2008-03-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
Fix .exe-related test failure on MinGW.
|
||||
|
@ -106,13 +106,11 @@ m4_define([AT_CHECK_M4],
|
||||
[AT_CHECK([$1], [$2], [$3],
|
||||
m4_case([$4], [], [], [ignore], [ignore], [stderr]))
|
||||
m4_case([$4], [], [], [ignore], [],
|
||||
[AT_CHECK([[sed 's/^[^:]*m4: *\([^:]*:\) *\([0-9][0-9]*: \)/m4:\1\2/
|
||||
s/^[^:]*m4\.exe: *\([^:]*:\) *\([0-9][0-9]*: \)/m4:\1\2/
|
||||
s/^\([^:]*:\) *\([0-9][0-9]*:\)[^:]*m4: /m4:\1\2 /
|
||||
[AT_CHECK([[sed 's/^[^:]*m4[.ex]*: *\([^:]*:\) *\([0-9][0-9]*: \)/m4:\1\2/
|
||||
s/^\([^:]*:\) *\([0-9][0-9]*:\)[^:]*m4[.ex]*: /m4:\1\2 /
|
||||
s/: C\(annot open \)\([^`:]*\):/: c\1`\2'\'':/
|
||||
s/: include:\( cannot open\)/:\1/
|
||||
s/^autom4te: [^ ]*m4 /autom4te: m4 /
|
||||
s/^autom4te: [^ ]*m4\.exe /autom4te: m4 /
|
||||
s/^autom4te: [^ ]*m4[.ex]* /autom4te: m4 /
|
||||
s/ (E[A-Z]*)$//
|
||||
' stderr >&2]], [0], [], [$4])])
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user