Return false instead of exiting

This commit is contained in:
Jacob Dufault 2018-01-17 21:29:32 -08:00
parent 6e56d97d97
commit 0fd3d69600

View File

@ -121,7 +121,7 @@ bool RunIndexTests(const std::string& filter_path, bool enable_update) {
std::cerr << "Index tests must be run using clang version \""
<< kRequiredClangVersion << "\" (cquery is running with \""
<< GetClangVersion() << "\")" << std::endl;
exit(1);
return false;
}
bool success = true;