Add support for running gtest
This commit is contained in:
6
src/test/driver/cpp/main.cpp
Normal file
6
src/test/driver/cpp/main.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
6
src/test/native/cpp/main.cpp
Normal file
6
src/test/native/cpp/main.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
::testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
Reference in New Issue
Block a user