projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: test_benchmark: do not match "CPU(s) scaling MHz:"
[lttng-ust.git]
/
tests
/
utils
/
tap.h
diff --git
a/tests/utils/tap.h
b/tests/utils/tap.h
index b3e94450541e203ba38bb9c5b2c3a71fd0869252..f9f423ee22948a8a3085832b6a20e108ed9f3b7c 100644
(file)
--- a/
tests/utils/tap.h
+++ b/
tests/utils/tap.h
@@
-6,7
+6,7
@@
*/
/* '## __VA_ARGS__' is a gcc'ism. C99 doesn't allow the token pasting
*/
/* '## __VA_ARGS__' is a gcc'ism. C99 doesn't allow the token pasting
- and requires the caller to add the final comma if they've om
m
itted
+ and requires the caller to add the final comma if they've omitted
the optional arguments */
#ifdef __GNUC__
# define ok(e, test, ...) ((e) ? \
the optional arguments */
#ifdef __GNUC__
# define ok(e, test, ...) ((e) ? \
@@
-28,7
+28,7
@@
skip(n, fmt, ## __VA_ARGS__); \
continue; \
}
skip(n, fmt, ## __VA_ARGS__); \
continue; \
}
-#elif
__STDC_VERSION__ >= 199901L
/* __GNUC__ */
+#elif
defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
/* __GNUC__ */
# define ok(e, ...) ((e) ? \
_gen_result(1, __func__, __FILE__, __LINE__, \
__VA_ARGS__) : \
# define ok(e, ...) ((e) ? \
_gen_result(1, __func__, __FILE__, __LINE__, \
__VA_ARGS__) : \
This page took
0.024239 seconds
and
4
git commands to generate.