aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LuaBridge/Tests/Source/TestsMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/LuaBridge/Tests/Source/TestsMain.cpp')
-rw-r--r--lib/LuaBridge/Tests/Source/TestsMain.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/LuaBridge/Tests/Source/TestsMain.cpp b/lib/LuaBridge/Tests/Source/TestsMain.cpp
new file mode 100644
index 0000000..8b6f716
--- /dev/null
+++ b/lib/LuaBridge/Tests/Source/TestsMain.cpp
@@ -0,0 +1,19 @@
+// https://github.com/vinniefalco/LuaBridge
+//
+// Copyright 2018, Dmitry Tarakanov
+// SPDX-License-Identifier: MIT
+
+#include <gtest/gtest.h>
+
+
+int main (int argc, char** argv)
+{
+ // Disable performance tests by default
+ if (argc == 1)
+ {
+ testing::GTEST_FLAG (filter) = "-PerformanceTests.AllTests";
+ }
+
+ testing::InitGoogleTest (&argc, argv);
+ return RUN_ALL_TESTS();
+}