From: brarcher Date: Sat, 10 Nov 2012 22:54:18 +0000 (+0000) Subject: If the test_check_ntests_run test fails, print the number of tests expected X-Git-Tag: 0.10.0~508 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8be4dc93a146a3e976d5d6283001455727a48cf3;p=check If the test_check_ntests_run test fails, print the number of tests expected git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@672 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/tests/check_check_master.c b/tests/check_check_master.c index a66bbb2..b1ad268 100644 --- a/tests/check_check_master.c +++ b/tests/check_check_master.c @@ -144,7 +144,7 @@ END_TEST START_TEST(test_check_ntests_run) { ck_assert_msg (sub_ntests == nr_of_master_tests, - "Unexpected number of tests run, %d.", sub_ntests); + "Unexpected number of tests run %d vs expected %d", sub_ntests, nr_of_master_tests); } END_TEST