From: Akim Demaille Date: Wed, 19 Aug 2009 12:39:27 +0000 (+0200) Subject: tests: distcc compliance. X-Git-Tag: v2.7.90~809 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/9142239a59453e38da3a7e7d98b8e345874d9862 tests: distcc compliance. * tests/synclines.at (AT_SYNCLINES_COMPILE): Discard distcc's error messages from the output. --- diff --git a/ChangeLog b/ChangeLog index 903d2678..e3defd81 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-08-19 Akim Demaille + + tests: distcc compliance. + * tests/synclines.at (AT_SYNCLINES_COMPILE): Discard distcc's + error messages from the output. + 2009-08-19 Akim Demaille variables: simplify the upgrade of namespace into api.namespace. diff --git a/tests/synclines.at b/tests/synclines.at index 56efdac6..1f1f9bad 100644 --- a/tests/synclines.at +++ b/tests/synclines.at @@ -41,7 +41,15 @@ m4_define([AT_SYNCLINES_COMPILE], # => # input.y:4: #error "8" # -AT_CHECK([[sed -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \ +# +# And possibly distcc adds its bits. +# +# distcc[33187] ERROR: compile (null) on localhost failed +# syncline.c:1:2: error: #error "1" +# distcc[33185] ERROR: compile syncline.c on localhost failed + +AT_CHECK([[sed -e '/^distcc\[[0-9]*\] ERROR: .*/d' \ + -e 's/^\([^:]*:[^:.]*\)[.:][^:]*:\(.*\)$/\1:\2/' \ -e 's/^\([^:]*:[^:]*:\)[^@%:@]*\( @%:@error\)/\1\2/' \ -e "/^[^:]*: In function '[^\']*':$/d" \ stderr]],