diff options
author | Etienne Bergeron <etienneb@google.com> | 2016-07-06 19:15:11 +0000 |
---|---|---|
committer | Etienne Bergeron <etienneb@google.com> | 2016-07-06 19:15:11 +0000 |
commit | 85a88e6cf35177630f7c707ae1b4484c8591e891 (patch) | |
tree | 3ec9ec1d461da37191fe7e6d62a5d170328fd21b /lib/interception/tests/interception_test_main.cc | |
parent | 91787ac05195e55d122b9543695e00747ae48209 (diff) | |
download | compiler-rt-85a88e6cf35177630f7c707ae1b4484c8591e891.tar.gz |
[compilter-rt] Add unittests for interception library
Summary:
This patch is adding unittests for the interception library.
Reviewers: rnk
Subscribers: majnemer, llvm-commits, wang0109, chrisha, tberghammer, danalbert, srhines
Differential Revision: http://reviews.llvm.org/D21980
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@274657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/interception/tests/interception_test_main.cc')
-rw-r--r-- | lib/interception/tests/interception_test_main.cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/interception/tests/interception_test_main.cc b/lib/interception/tests/interception_test_main.cc new file mode 100644 index 000000000..311da51ec --- /dev/null +++ b/lib/interception/tests/interception_test_main.cc @@ -0,0 +1,22 @@ +//===-- interception_test_main.cc------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file is a part of AddressSanitizer, an address sanity checker. +// +// Testing the machinery for providing replacements/wrappers for system +// functions. +//===----------------------------------------------------------------------===// + +#include "gtest/gtest.h" + +int main(int argc, char **argv) { + testing::GTEST_FLAG(death_test_style) = "threadsafe"; + testing::InitGoogleTest(&argc, argv); + return RUN_ALL_TESTS(); +} |