Fixed minor gcc warnings
[libcds.git] / test / stress / main.cpp
index 1b15a13026d71b1bd4523ad003dde63467e75bdc..838710ac7093797372e0245272b8d20ec6a47644 100644 (file)
@@ -46,11 +46,15 @@ int main( int argc, char **argv )
     int result;\r
     cds::Initialize();\r
     {\r
-        ::testing::InitGoogleTest( &argc, argv );\r
-\r
         // Read test config file\r
         cds_test::init_config( argc, argv );\r
 \r
+        // Get detail level for stress test\r
+        cds_test::stress_fixture::init_detail_level( argc, argv );\r
+\r
+        // Init Google test\r
+        ::testing::InitGoogleTest( &argc, argv );\r
+\r
         cds_test::config const& general_cfg = cds_test::stress_fixture::get_config( "General" );\r
 \r
         // Init SMR