diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/testingmain.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/testing/testingmain.cpp b/testing/testingmain.cpp index 845fd38a4f..dfb9c168f9 100644 --- a/testing/testingmain.cpp +++ b/testing/testingmain.cpp @@ -28,16 +28,10 @@ #endif #endif -CommandLineOptions g_testingOptions; - -CommandLineOptions const & GetTestingOptions() -{ - return g_testingOptions; -} - namespace { bool g_bLastTestOK = true; +CommandLineOptions g_testingOptions; int const kOptionFieldWidth = 32; char const kFilterOption[] = "--filter="; @@ -97,6 +91,11 @@ void ParseOptions(int argc, char * argv[], CommandLineOptions & options) } } // namespace +CommandLineOptions const & GetTestingOptions() +{ + return g_testingOptions; +} + int main(int argc, char * argv[]) { #ifdef OMIM_UNIT_TEST_WITH_QT_EVENT_LOOP |