• R/O
  • SSH
  • HTTPS

cstl: Commit


Commit MetaInfo

Revision397 (tree)
Time2010-07-25 13:24:39
Authorkatono

Log Message

結果表示のフォーマットを修正。

Change Summary

Incremental Difference

--- branches/try-vfunc/unittest/UnitTest.c (revision 396)
+++ branches/try-vfunc/unittest/UnitTest.c (revision 397)
@@ -45,15 +45,15 @@
4545
4646 static void print_result(void)
4747 {
48- PRINTF("Type Total Ran Passed Failed\n");
49- PRINTF("suites %7d %7d n/a %7d", suites_total, suites_ran, suites_failed);
48+ PRINTF("Type Total Ran Passed Failed\n");
49+ PRINTF("suites %8d %8d n/a %8d", suites_total, suites_ran, suites_failed);
5050 if (setup_failed || teardown_failed) {
5151 PRINTF("(setup:%d/teardown:%d)\n", setup_failed, teardown_failed);
5252 } else {
5353 PRINTF("\n");
5454 }
55- PRINTF("tests %7d %7d %7d %7d\n", tests_total, tests_ran, tests_ran - tests_failed, tests_failed);
56- PRINTF("asserts %7d %7d %7d %7d\n", asserts_total, asserts_ran, asserts_ran - asserts_failed, asserts_failed);
55+ PRINTF("tests %8d %8d %8d %8d\n", tests_total, tests_ran, tests_ran - tests_failed, tests_failed);
56+ PRINTF("asserts %8d %8d %8d %8d\n", asserts_total, asserts_ran, asserts_ran - asserts_failed, asserts_failed);
5757 PRINTF("\n");
5858 }
5959
Show on old repository browser