|
From: Branden A. <b.m...@gm...> - 2020-09-05 22:17:00
|
For Ubuntu you should be able to install libcheck using the following instructions: https://libcheck.github.io/check/web/install.html#aptitude That way you will not need to rebuild Check, unless you want a newer version than Ubuntu provides. Looking at the logs I see failures around timeout tests. For example, this test https://github.com/libcheck/check/blob/c94962c5ed3120291557e978fa523780a802ac93/tests/check_check_sub.c#L2650 should take longer than 9 seconds to run, and is configured to fail if it runs longer than 6 seconds: https://github.com/libcheck/check/blob/c94962c5ed3120291557e978fa523780a802ac93/tests/check_check_sub.c#L3242 This test confirms that Check is able to detect when tests take too long to run and properly time them out. The provided test logs show that instead of timing the test out it said the test passed: check_check_master.c:683:F:Core Tests:test_check_all_msgs:226: For test 226:Timeout Integer Scaling Tests:test_sleep9_fail expected 'Test timeout expired', got 'Passed' I'm not sure why that would be. I've seen behavior like this on some systems that are very CPU constrained, such as when many VMs are running when the tests are also running. These tests are not as deterministic as the others, as they assume some behaviors of the OSs CPU scheduler. If you would like to skip them and see if the rest of the tests pass, try this <https://github.com/libcheck/check/blob/master/configure.ac#L66>: ./configure --disable-timeout-tests make make check - Branden > > ---------- Forwarded message ---------- > From: Billy Julius <bil...@gm...> > To: che...@li... > Cc: > Bcc: > Date: Sat, 5 Sep 2020 13:04:19 +0700 > Subject: check_check_export and check_check fails when make check command > Hello, I'm Billy > > I just tried installing check to my PC but I encountered a problem. So > after I downloaded the latest check source from > https://github.com/libcheck/check/releases, I used Ubuntu and move to the > unpacked directory, run these following commands : > ./configure > make > make check > > The make check step fails, with details test_suite.log attached. > Is there anything wrong with my PC and anything to solve this problem? > > Thank You. > > > > ---------- Forwarded message ---------- > From: che...@li... > To: > Cc: > Bcc: > Date: Sat, 05 Sep 2020 06:04:51 +0000 > Subject: confirm ce2627daf3ad4d37dcda3cd36b2e6b20a754d2aa > If you reply to this message, keeping the Subject: header intact, > Mailman will discard the held message. Do this if the message is > spam. If you reply to this message and include an Approved: header > with the list password in it, the message will be approved for posting > to the list. The Approved: header can also appear in the first line > of the body of the reply. |