Skip to content

improve test runner - #19

Merged
dirk-thomas merged 1 commit into
masterfrom
improve_test_runner
Aug 4, 2015
Merged

dirk-thomas merged 1 commit into
masterfrom
improve_test_runner

Conversation

@dirk-thomas

Copy link
Copy Markdown
Contributor

This patch improves the test runner by:

  • using unbuffered output for the run_test.py script
  • update gtests and nosetests to also dump the output into a file
  • flush the output file after every line to ensure it contains all information

This is necessary e.g. in the case that a test gets killed by a timeout. Two of these tests (http://ci.ros2.org/job/ros2_batch_ci_linux/135/console#console-section-0) printed nothing when they timed out.

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

wjwwood commented Aug 3, 2015

Copy link
Copy Markdown
Contributor

+1, makes sense

dirk-thomas added a commit that referenced this pull request Aug 4, 2015
@dirk-thomas
dirk-thomas merged commit 21cfa94 into master Aug 4, 2015
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Aug 4, 2015
@dirk-thomas
dirk-thomas deleted the improve_test_runner branch August 4, 2015 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants