Skip to content
This repository was archived by the owner on Feb 4, 2020. It is now read-only.

invoke CTest with dashboard test summary - #48

Merged
dirk-thomas merged 2 commits into
masterfrom
gtest_location
Sep 4, 2015
Merged

dirk-thomas merged 2 commits into
masterfrom
gtest_location

Conversation

@dirk-thomas dirk-thomas added the in review Waiting for review (Kanban column) label Sep 2, 2015
@dirk-thomas dirk-thomas self-assigned this Sep 2, 2015
@dirk-thomas

Copy link
Copy Markdown
Contributor Author

The second commit adds the result file type as a second extension to the filename.

@jackieokay

Copy link
Copy Markdown
Contributor

I am reviewing this right now.

@jackieokay

Copy link
Copy Markdown
Contributor

Can you explain what's happening in the latest Jenkins job for the gtest_location branches for Windows?

http://ci.ros2.org/job/ros2_batch_ci_windows/361/

It looks to me like the failed tests get double-reported.

@jackieokay

Copy link
Copy Markdown
Contributor

Nevermind, ros2/ros2/issues/106 explains it.

@jackieokay

Copy link
Copy Markdown
Contributor

Hmm, the double-reporting issue really bothers me but I don't know enough about these testing frameworks to suggest a fix.

Is there a way to get Jenkins to only the report failed/not run CTest results? Or is this not enough information/not a complete representation of the test suite, and why?

@dirk-thomas

Copy link
Copy Markdown
Contributor Author

Well, you kind of need to be able to see all tests. Otherwise you don't know if a certain test was actually run and what its output was.

@jackieokay

Copy link
Copy Markdown
Contributor

Ok, what I meant to ask is: why can't Jenkins just report the CTest dashboard and ignore the Gtest/Jtest results? It seems to me that the CTest results are a superset of the test results we're interested in, but I could be wrong (since again, I don't know much about the features of the different frameworks).

@dirk-thomas

Copy link
Copy Markdown
Contributor Author

We could only use the CTest result file. But that would hide all all GTest / Nosetests specific "sub-tests" from the user. It would only report a single passed / failed test for a nosetests invocation.

@jackieokay

Copy link
Copy Markdown
Contributor

Got it. I guess when it comes to tests more information is always better
than less.

+1

On Thu, Sep 3, 2015 at 6:53 PM, Dirk Thomas [email protected]
wrote:

We could only use the CTest result file. But that would hide all all GTest
/ Nosetests specific "sub-tests" from the user. It would only report a
single passed / failed test for a nosetests invocation.

—
Reply to this email directly or view it on GitHub
#48 (comment).

dirk-thomas added a commit that referenced this pull request Sep 4, 2015
invoke CTest with dashboard test summary
@dirk-thomas
dirk-thomas merged commit fc9c2bb into master Sep 4, 2015
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Sep 4, 2015
@dirk-thomas
dirk-thomas deleted the gtest_location branch September 4, 2015 15:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants