-
Notifications
You must be signed in to change notification settings - Fork 17
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
Print reason of crash to .reject for tap tests #96
Comments
Another possible way to handle it: print last lines of a tarantool log (more then 15) right after last output when |
I tried it like so:
Run:
Got:
@Korablev77 So the issue is resolved now? |
I think result/tmp_result/reject files are about stdout of a test and should not contain stderr/log. We can introduce separate status file for failing tests that will contain a test output, stderr/logs and maybe other related info. Another way is to show diff between result tmp_result (instead of result and reject) and make a reject file this status file. Anyway, we need to reconsider stdout/stderr/logs handling at the whole and pay attention to TAP13 tests (#68). |
I see no problems here now. stderr is written to a separate file, which is shown on the screen, when a fail occurs. If anyone experience problems with stderr, please, describe them as a user scenario and reopen the issue. I also suggest to wait for PR #394 first. |
Before this commit dac6b2b if sql-tap test crashed, the reason of crash (i.e. stack-trace or fired assertion) would be logged into *.reject file. It was great feature and I miss it so much. Moreover, it seems to be quite useful especially when executing test-run with force (--f) flag.
The text was updated successfully, but these errors were encountered: