-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Travis: output CTest error log on failures #133
Travis: output CTest error log on failures #133
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course this is a welcome addition!
It is missing changes to the AppVeyor build.
@@ -3,6 +3,9 @@ set -e #break script on non-zero exitcode from any command | |||
gem install bundler | |||
bundle install | |||
|
|||
CTEST_OUTPUT_ON_FAILURE=ON | |||
export CTEST_OUTPUT_ON_FAILURE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it can be shortened as export CTEST_OUTPUT_ON_FAILURE=ON
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, that's a short hand in bash and other korn shell derivatives. Bourne shell (/bin/sh) doesn't support that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough. Wasn't aware that Dash (/bin/sh
in most Linux distributions, as opposed to Bash in OSX) did not support that.
I think this should be merged - @paoloambrosio ? |
FYI: I think it's ready to be merged. |
This causes CTest to output the stdout/stderr log of failing test cases when encountered.