![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef _TEST_MAPS_H 0003 #define _TEST_MAPS_H 0004 0005 #include <stdio.h> 0006 #include <stdlib.h> 0007 0008 #define CHECK(condition, tag, format...) ({ \ 0009 int __ret = !!(condition); \ 0010 if (__ret) { \ 0011 printf("%s(%d):FAIL:%s ", __func__, __LINE__, tag); \ 0012 printf(format); \ 0013 exit(-1); \ 0014 } \ 0015 }) 0016 0017 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |