Issue Type: Bug Bug
Assignee: Ulli Hafner
Components: warnings-plugin
Created: 15/Jan/15 10:47 AM
Description:

We are using the warnings-plugin after a compilation pass with VC10_64 and a subsequent step of running a google-test binary. The gtest produces a test failure using the EXPECT_LE macro. The error message is printed below. Regrettably this is interpreted as compiler error by the warnings-plugin.

The confusing part of this is that on Linux/OSX gtest prints the same message, but with "error" being replaced by "Failure". On those platforms the warnings-plugin works as expected.

I don't know how to discriminate this from a compiler message. Maybe by looking for "Expected:" after the error?

[  FAILED  ] allCases/ReferenceCaseTest.ROIRequirementsTest/25, where GetParam() = (19, 1) (11760 ms)
[ RUN      ] allCases/ReferenceCaseTest.ROIRequirementsTest/29
C:\Program Files (x86)\Jenkins\jobs\MyJob\workspace\MyProject\testing\regression_tests\BackToBackTest\ROIRequirements.cpp(168): error: Expected: (xEdgeLength) <= (maxEdgeLength), actual: 150.781 vs 150
Environment: Jenkins 1.588
Warnings-Plugin 4.45
googletest 1.6.0
Windows 7 VC10_64
Project: Jenkins
Priority: Minor Minor
Reporter: Ruben Stein
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to