This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: assert does not show output in cygwin test build
- From: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- To: cygwin at cygwin dot com
- Date: Wed, 9 Oct 2019 19:03:50 +0900
- Subject: Re: assert does not show output in cygwin test build
- Dkim-filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com x99A3lQc003029
- References: <CALK-3mJyg6pox9a+ZNgGmspcxBFcgGJ3XymXAOOPP6_Z_tSUjQ@mail.gmail.com>
On Wed, 9 Oct 2019 12:44:14 +0530
Biswapriyo Nath wrote:
> * mintty version: mintty 3.0.6 (x86_64-pc-cygwin)
> * cygwin version: 3.1.0-0.6
> * code:
>
> #include <assert.h>
>
> int main() {
> int x = 1;
> assert(x == 0);
> }
>
> * Expected result: The terminal should show this message which appers
> in latest stable cygwin version.
> assertion "x == 0" failed: file "test.c", line 6, function: main
>
> * Actual result: terminal only shows "Aborted (core dumped)".
Thanks for your report. However, I cannot reproduce the problem.
1. Could you please describe the steps to reproduce this?
2. What happens if you execute:
./a.exe 2>&1 | cat
--
Takashi Yano <takashi.yano@nifty.ne.jp>
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple