summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp')
-rw-r--r--compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp b/compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp
new file mode 100644
index 00000000000..60bd5648eef
--- /dev/null
+++ b/compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp
@@ -0,0 +1,14 @@
+//===-- scudo_unit_test_main.cpp --------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "gtest/gtest.h"
+
+int main(int argc, char **argv) {
+ testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
+}
OpenPOWER on IntegriCloud