Skip to content
Permalink
Browse files

[travis] Only send test results to CDash on failure

  • Loading branch information
m-kuhn committed Sep 14, 2015
1 parent 9bd4276 commit 343cc541fb67f81ff4fd3304ad063bacecd0a219
Showing with 2 additions and 4 deletions.
  1. +2 −4 qgis-test-travis.ctest
@@ -71,7 +71,5 @@ IF(NOT ${TESTRES} EQUAL 0)
MESSAGE( FATAL_ERROR "Tests failed" )
ENDIF(NOT ${TESTRES} EQUAL 0)

ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30)
MESSAGE("${Green}Test results submitted to${ColorReset}")
MESSAGE("${BoldGreen}http://dash.orfeo-toolbox.org/index.php?project=QGIS&filtercount=1&showfilters=1&field1=buildname/string&compare1=63&value1=$ENV{TRAVIS_COMMIT}${ColorReset}" )

MESSAGE("${BoldGreen}Success${ColorReset}")
MESSAGE("${Green}All tests passed successfully.${ColorReset}")

8 comments on commit 343cc54

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson replied Sep 14, 2015

@m-kuhn any chance of reverting this? I find it handy to see the results from passing tests too...

@m-kuhn

This comment has been minimized.

Copy link
Member Author

@m-kuhn m-kuhn replied Sep 14, 2015

Big chances if you give good arguments :)

@m-kuhn

This comment has been minimized.

Copy link
Member Author

@m-kuhn m-kuhn replied Sep 14, 2015

Acceptable doc coverage: How about only send it for master builds but not for pull requests?

@m-kuhn

This comment has been minimized.

Copy link
Member Author

@m-kuhn m-kuhn replied Sep 14, 2015

Or we print some important statistics and information directly to the travis output

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson replied Sep 14, 2015

@m-kuhn if that's possible... Sure! Or the automated bot thing, if you want to do that ;)

@m-kuhn

This comment has been minimized.

Copy link
Member Author

@m-kuhn m-kuhn replied Sep 14, 2015

@m-kuhn

This comment has been minimized.

Copy link
Member Author

@m-kuhn m-kuhn replied Sep 14, 2015

It will be shown if after_script is uncollapsed. Further information which should be shown can be appended to the file /tmp/cdash-important.log or from python test scripts by using printImportant(info) from utilities.py.

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson replied Sep 14, 2015

@m-kuhn OK, sounds good to me

Please sign in to comment.
You can’t perform that action at this time.