Fix failure in get_filecheck_path when filecheck is None
authorStella Stamenova <stilis@microsoft.com>
Fri, 12 Oct 2018 20:00:20 +0000 (20:00 +0000)
committerStella Stamenova <stilis@microsoft.com>
Fri, 12 Oct 2018 20:00:20 +0000 (20:00 +0000)
commit8003485cbf52405c101813be44643dd831ffca69
treebf8298835c30dbad26e8d8591e9f526e4782f302
parent307f5ae898af63694bed9f880503aae38a978da7
Fix failure in get_filecheck_path when filecheck is None

If the path was not specified (and it's None), lexists throws an exception rather than returning False. get_filecheck_path now checks whether filecheck is set before calling lexists

llvm-svn: 344410
lldb/packages/Python/lldbsuite/test/configuration.py