Ken Moffat wrote:
> (second attempt to post, this time with the attached log gzipped to
> beat the size limit)
> 
>  Unsure whether to raise this on LFS or BLFS, but I figure people
> are more likely to run check's testsuite in BLFS.
> 
>  When I run the testsuite (on x86_64, from LFS-6.8) two tests
> show as FAIL, in check_check_export and check_check.
> 
>  If I cd to tests/ there are three scripts to run.
> test_xml_output.sh gives me nothing, the other two report:
> 
> ken@ac30 ~/check-0.9.8/tests $./test_log_output.sh
> Problem with ex_log_output
> Expected:
> Running suite S1
> /ex_log_output.c:10:P:Core:test_pass:0: Passed
> /ex_log_output.c:16:F:Core:test_fail:0: Failure
> /ex_log_output.c:20:E:Core:test_exit:0: (after this point) Early
> exit with return value 1
> Running suite S2
> /ex_log_output.c:28:P:Core:test_pass2:0: Passed
> Results for all suites run:
> 50%: Checks: 4, Failures: 1, Errors: 1
> Got:
> Running suite S1
> ex_log_output.c:10:P:Core:test_pass:0: Passed
> ex_log_output.c:16:F:Core:test_fail:0: Failure
> ex_log_output.c:20:E:Core:test_exit:0: (after this point) Early exit
> with return value 1
> Running suite S2
> ex_log_output.c:28:P:Core:test_pass2:0: Passed
> Results for all suites run:
> 50%: Checks: 4, Failures: 1, Errors: 1

My LFS7 system (x86_64) doesn't fail.  From my log I do see things like:

  Check Servant2
27%: Checks: 69, Failures: 28, Errors: 22
check_check_sub.c:14:F:Simple Tests:test_lno:0: Failure expected
check_check_sub.c:21:E:Simple Tests:test_mark_lno:0: (after this point) 
Early exit with return value 1
check_check_sub.c:32:P:Simple Tests:test_pass:0: Passed
check_check_sub.c:39:F:Simple Tests:test_fail:0: This test should fail
check_check_sub.c:46:P:Simple Tests:test_fail_if_pass:0: Passed
check_check_sub.c:52:F:Simple Tests:test_fail_if_fail:0: This test 
should fail
check_check_sub.c:58:F:Simple Tests:test_fail_null_msg:0: Assertion '2 
== 3' failed
check_check_sub.c:65:F:Simple Tests:test_fail_no_msg:0: Assertion '4 == 
5' failed
check_check_sub.c:71:F:Simple Tests:test_fail_if_null_msg:0: Failure '2 
!= 3' occured
check_check_sub.c:78:F:Simple Tests:test_fail_if_no_msg:0: Failure '4 != 
5' occured
check_check_sub.c:86:F:Simple Tests:test_fail_vararg_msg_1:0: 3 != 4
  ...

But the bottom line is:

PASS: check_check_export
PASS: check_check
PASS: test_output.sh
PASS: test_xml_output.sh
PASS: test_log_output.sh
==================
All 5 tests passed
==================

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to