mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-29 19:07: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")) {
|
if (HasOption(options, "--test-index")) {
|
||||||
print_help = false;
|
print_help = false;
|
||||||
RunIndexTests();
|
RunIndexTests();
|
||||||
|
#if defined(_WIN32)
|
||||||
std::cerr << std::endl << "[Enter] to exit" << std::endl;
|
std::cerr << std::endl << "[Enter] to exit" << std::endl;
|
||||||
std::cin.get();
|
std::cin.get();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (HasOption(options, "--language-server")) {
|
if (HasOption(options, "--language-server")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user