summaryrefslogtreecommitdiffstats
path: root/security/nss/gtests/sysinit_gtest/sysinit_gtest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/gtests/sysinit_gtest/sysinit_gtest.cc')
-rw-r--r--security/nss/gtests/sysinit_gtest/sysinit_gtest.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/security/nss/gtests/sysinit_gtest/sysinit_gtest.cc b/security/nss/gtests/sysinit_gtest/sysinit_gtest.cc
new file mode 100644
index 000000000..9f99e366d
--- /dev/null
+++ b/security/nss/gtests/sysinit_gtest/sysinit_gtest.cc
@@ -0,0 +1,9 @@
+#define GTEST_HAS_RTTI 0
+#include "gtest/gtest.h"
+
+int main(int argc, char** argv) {
+ // Start the tests
+ ::testing::InitGoogleTest(&argc, argv);
+ int rv = RUN_ALL_TESTS();
+ return rv;
+}