cygwin_exception::open_stackdumpfile google test

611 Views Asked by At

I have read a few topics about errors: cygwin_exception::open_stackdumpfile: Dumping stack trace to program.exe.stackdump

But I can't find something that fits my situation.

This is my project: https://github.com/InzynierDomu/LED_tester

I got error in UT:

Building...
Testing...
[==========] Running 9 tests from 3 test suites.
[----------] Global test environment set-up.
      0 [main] program 751 cygwin_exception::open_stackdumpfile: Dumping stack trace to program.exe.stackdump
0 [main] program 751 cygwin_exception::open_stackdumpfile: Dumping stack trace to program.exe.stackdump
[----------] 3 tests from PWM_controller_test
[ RUN      ] PWM_controller_test.active
[       OK ] PWM_controller_test.active (0 ms)
[ RUN      ] PWM_controller_test.set_pwm_up
================================================================================================================================================================================= [FAILED] 

I have very similar test in test/native/Color_tester_controller_test and test/native/PWM_controller_test. The first one works properly, the second not with that test.

TEST_F(PWM_controller_test, set_pwm_up)
{
  EXPECT_CALL(hal_mock, set_PWM_output(1));
  EXPECT_CALL(view_mock, update_duty());
  uut.keyboar_reaction(Cursor_move::up);
}

I stack, and maybe anyone has some idea?

EDIT: It's only Cygwin gcc problem, on MinGW gcc it's work fine /:

0

There are 0 best solutions below