Saladin Afoh

Results 12 comments of Saladin Afoh

I also tried fflush() ``` Test(check_argc, possible_stack_sizes) { check_argc_test(1, false, ""); fflush(stderr); check_argc_test(2, false, "Error\n"); fflush(stderr); check_argc_test(3, true, ""); } ```

Ah! I didn't include that, but i did .init=redirect_all_std beforehand. So that wouldn't be the problem.

I've tried to figure this one out with 4 of my peers who couldn't find an answer and we finally discussed wether a test case should even test the stderr/stdout,...

This was the trace of one of my peers ``` ➜ push_swap git:(master) ✗ ./unit-test --debug=lldb [----] Criterion v2.4.1-2-g9ecaf8b (bleeding) [====] Running 3 tests from check_argc: PLEASE submit a bug...

This was on of the findings of another peer: "I ran it with gdb and I get a SIGPIPE (broken pipe), I'm guessing it means the tester closes stdout or...

So after many tries the way to solve our issue was to install brew into a folder like this: /sgoinfr. And then install criterion over there via `brew install criterion`....

Correction: The import via github works. However the second error persists.

Thank you for your quick reply! This was my first raised issue on github🥳! Do you have an indication on when the patch will come out?

@aplaice I will try it tonight and I will let you know! Thank you for the effort!

I had roughly the same issue. I'm now investigating whether gh will also fix my issue