X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=test%2FTestMain.cpp;fp=test%2FTestMain.cpp;h=3568448eff80a262ab8804565ad7d64eba61d97f;hb=96603a1f86b096cf674bd54bfae73d4061d3d81f;hp=0000000000000000000000000000000000000000;hpb=dc61623b37872ca870ce28c7e8918056d98f0f9b;p=trackerpp.git diff --git a/test/TestMain.cpp b/test/TestMain.cpp new file mode 100644 index 0000000..3568448 --- /dev/null +++ b/test/TestMain.cpp @@ -0,0 +1,11 @@ +#include "gtest/gtest.h" + +int main(int argc, char** argv) { + // Disables elapsed time by default. + ::testing::GTEST_FLAG(print_time) = false; + + // This allows the user to override the flag on the command line. + ::testing::InitGoogleTest(&argc, argv); + + return RUN_ALL_TESTS(); +}