summaryrefslogtreecommitdiffstats
path: root/MdePkg/Test/GoogleTest/Library/BaseLib/TestBaseLibMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Test/GoogleTest/Library/BaseLib/TestBaseLibMain.cpp')
-rw-r--r--MdePkg/Test/GoogleTest/Library/BaseLib/TestBaseLibMain.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/MdePkg/Test/GoogleTest/Library/BaseLib/TestBaseLibMain.cpp b/MdePkg/Test/GoogleTest/Library/BaseLib/TestBaseLibMain.cpp
new file mode 100644
index 0000000000..2f941c7ffa
--- /dev/null
+++ b/MdePkg/Test/GoogleTest/Library/BaseLib/TestBaseLibMain.cpp
@@ -0,0 +1,18 @@
+/** @file
+ Main routine for BaseLib google tests.
+
+ Copyright (c) 2023 Pedro Falcato. All rights reserved<BR>
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+**/
+
+#include <gtest/gtest.h>
+
+int
+main (
+ int argc,
+ char *argv[]
+ )
+{
+ testing::InitGoogleTest (&argc, argv);
+ return RUN_ALL_TESTS ();
+}