projects
/
awesomized
/
libmemcached
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
testing: attempt to fix old clang
[awesomized/libmemcached]
/
testing
/
main.cpp
1
#define CATCH_CONFIG_RUNNER
2
#include
"lib/catch.hpp"
3
#include <cstdlib>
4
5
int
main
(
int
argc
,
char
*
argv
[]) {
6
#if HAVE_ASAN
7
# if HAVE_SETENV
8
setenv
(
"ASAN_OPTIONS"
,
"halt_on_error=0"
,
0
);
9
# else
10
char
env
[] =
"ASAN_OPTIONS=halt_on_error=0"
;
11
putenv
(
env
);
12
# endif
13
#endif
14
return
Catch
::
Session
().
run
(
argc
,
argv
);
15
}