Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(604)

Side by Side Diff: src/platform/vboot_reference/tests/cgptlib_test.h

Issue 2303003: Moved cgptlib into vboot_firmware (Closed) Base URL: ssh://gitrw.chromium.org/chromiumos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef VBOOT_REFERENCE_CGPTLIB_TEST_H_ 5 #ifndef VBOOT_REFERENCE_CGPTLIB_TEST_H_
6 #define VBOOT_REFERENCE_CGPTLIB_TEST_H_ 6 #define VBOOT_REFERENCE_CGPTLIB_TEST_H_
7 7
8 #include <stdio.h> 8 #include <stdio.h>
9 9
10 enum { 10 enum {
(...skipping 14 matching lines...) Expand all
25 #define EXPECT(expr) \ 25 #define EXPECT(expr) \
26 do { \ 26 do { \
27 if (!(expr)) { \ 27 if (!(expr)) { \
28 printf(COL_RED " fail " COL_STOP "in expression %s in %s() line %d\n",\ 28 printf(COL_RED " fail " COL_STOP "in expression %s in %s() line %d\n",\
29 #expr, __FUNCTION__, __LINE__); \ 29 #expr, __FUNCTION__, __LINE__); \
30 return TEST_FAIL; \ 30 return TEST_FAIL; \
31 } \ 31 } \
32 } while (0) 32 } while (0)
33 33
34 #endif /* VBOOT_REFERENCE_CGPTLIB_TEST_H_ */ 34 #endif /* VBOOT_REFERENCE_CGPTLIB_TEST_H_ */
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/tests/Makefile ('k') | src/platform/vboot_reference/tests/cgptlib_test.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698