1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LIBPERF_INTERNAL_TESTS_H
3 #define __LIBPERF_INTERNAL_TESTS_H
11 fprintf(stdout, "- running %s...", __FILE__); \
19 fprintf(stdout, " FAILED (%d)\n", tests_failed); \
21 fprintf(stdout, "OK\n"); \
24 #define __T(text, cond) \
27 fprintf(stderr, "FAILED %s:%d %s\n", __FILE__, __LINE__, text); \
33 #endif /* __LIBPERF_INTERNAL_TESTS_H */