From 6079a2b7428d06d0345605f98d5426c4b647d80e Mon Sep 17 00:00:00 2001 From: Takashi Sawanaka Date: Sun, 29 Dec 2019 19:51:25 +0900 Subject: [PATCH] GUITestUtils.cpp: do not test all languages when command line arguments are empty --- Testing/GoogleTest/GUITests/GUITestUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Testing/GoogleTest/GUITests/GUITestUtils.cpp b/Testing/GoogleTest/GUITests/GUITestUtils.cpp index 1a33f2e80..e30ea6983 100644 --- a/Testing/GoogleTest/GUITests/GUITestUtils.cpp +++ b/Testing/GoogleTest/GUITests/GUITestUtils.cpp @@ -153,7 +153,7 @@ HWND execWinMerge(const std::string& args) const std::set languages() { - if (wcsstr(GetCommandLineW(), L"--english-only") != nullptr) + if (wcsstr(GetCommandLineW(), L"--all-languages") == nullptr) return { MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US) }; return { MAKELANGID(LANG_ENGLISH, SUBLANG_ENGLISH_US), -- 2.11.0