mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-03-02 23:50:19 +00:00
[Sanitizer] Initialize common flags to default values in unit tests.
llvm-svn: 245363
This commit is contained in:
parent
9a28358a03
commit
0a779d7e3d
@ -11,6 +11,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
#include "gtest/gtest.h"
|
||||
#include "sanitizer_common/sanitizer_flags.h"
|
||||
|
||||
const char *argv0;
|
||||
|
||||
@ -18,5 +19,6 @@ int main(int argc, char **argv) {
|
||||
argv0 = argv[0];
|
||||
testing::GTEST_FLAG(death_test_style) = "threadsafe";
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
SetCommonFlagsDefaults();
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user