OLD | NEW |
1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 /* Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
4 */ | 4 */ |
5 | 5 |
6 #include "cgptlib_test.h" | 6 #include "cgptlib_test.h" |
7 #include <string.h> | 7 #include <string.h> |
8 #include "cgptlib.h" | 8 #include "cgptlib.h" |
9 #include "cgptlib_internal.h" | 9 #include "cgptlib_internal.h" |
10 #include "crc32.h" | 10 #include "crc32.h" |
(...skipping 1160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1171 printf(COL_RED "The following %d test cases are failed:\n" COL_STOP, | 1171 printf(COL_RED "The following %d test cases are failed:\n" COL_STOP, |
1172 error_count); | 1172 error_count); |
1173 for (i = 0; i < sizeof(test_cases)/sizeof(test_cases[0]); ++i) { | 1173 for (i = 0; i < sizeof(test_cases)/sizeof(test_cases[0]); ++i) { |
1174 if (test_cases[i].retval) | 1174 if (test_cases[i].retval) |
1175 printf(" %s()\n", test_cases[i].name); | 1175 printf(" %s()\n", test_cases[i].name); |
1176 } | 1176 } |
1177 } | 1177 } |
1178 | 1178 |
1179 return (error_count) ? 1 : 0; | 1179 return (error_count) ? 1 : 0; |
1180 } | 1180 } |
OLD | NEW |