mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
Only wait when running index tests on windows.
This commit is contained in:
parent
f5b7b62a4a
commit
68f6d34693
@ -3222,8 +3222,10 @@ int main(int argc, char** argv) {
|
||||
if (HasOption(options, "--test-index")) {
|
||||
print_help = false;
|
||||
RunIndexTests();
|
||||
#if defined(_WIN32)
|
||||
std::cerr << std::endl << "[Enter] to exit" << std::endl;
|
||||
std::cin.get();
|
||||
#endif
|
||||
}
|
||||
|
||||
if (HasOption(options, "--language-server")) {
|
||||
|
Loading…
Reference in New Issue
Block a user