From 0fd3d69600d62a9318419b13093fb582b63e706f Mon Sep 17 00:00:00 2001 From: Jacob Dufault Date: Wed, 17 Jan 2018 21:29:32 -0800 Subject: [PATCH] Return false instead of exiting --- src/test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test.cc b/src/test.cc index 4041135e..7592d701 100644 --- a/src/test.cc +++ b/src/test.cc @@ -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;