repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
staging: rtl8192u: remove redundant assignment to pointer crypt
[linux/fpc-iii.git]
/
tools
/
testing
/
selftests
/
bpf
/
test_maps.h
blob
77d8587ac4edb5dd1640e74771efd0f509e1cb46
1
/* SPDX-License-Identifier: GPL-2.0 */
2
#ifndef _TEST_MAPS_H
3
#define _TEST_MAPS_H
4
5
#include <stdio.h>
6
#include <stdlib.h>
7
8
#define CHECK(condition, tag, format...) ({ \
9
int __ret = !!(condition); \
10
if (__ret) { \
11
printf(
"%s(%d):FAIL:%s "
, __func__, __LINE__, tag); \
12
printf(format); \
13
exit(-1); \
14
} \
15
})
16
17
#endif