diff options
author | fergus.henderson <fergushenderson@users.noreply.github.com> | 2011-06-28 20:13:34 +0000 |
---|---|---|
committer | fergus.henderson <fergushenderson@users.noreply.github.com> | 2011-06-28 20:13:34 +0000 |
commit | d21527c43e927a7404ab8c229dd0f994f7d59d29 (patch) | |
tree | d937d6f0cef9c8c7ceb4deb30cf75929b0a5be34 | |
parent | 1993cc79afceac8d3106163c6f28e915154ab3f7 (diff) | |
download | distcc-git-d21527c43e927a7404ab8c229dd0f994f7d59d29.tar.gz |
Apply patch from Ihor Kaharlichenko <madkinder> to fix issue 81
<http://code.google.com/p/distcc/issues/detail?id=81>:
SyntaxError_Case was failing with recent versions of gcc,
due to the error message format having changed to now
include the column number.
Also remove an old "XXX" comment that no longer applies.
-rwxr-xr-x | test/testdistcc.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/testdistcc.py b/test/testdistcc.py index 0a5f0cd..d5b645d 100755 --- a/test/testdistcc.py +++ b/test/testdistcc.py @@ -1838,8 +1838,7 @@ class SyntaxError_Case(Compilation_Case): def compile(self): rc, msgs, errs = self.runcmd_unchecked(self.compileCmd()) self.assert_notequal(rc, 0) - # XXX: Need to also handle "syntax error" from gcc-2.95.3 - self.assert_re_match(r'testtmp.c:1: .*error', errs) + self.assert_re_match(r'testtmp.c:1:.*error', errs) self.assert_equal(msgs, '') def runtest(self): |