diff options
| author | Roman Lebedev <lebedev.ri@gmail.com> | 2021-03-22 12:26:07 +0300 |
|---|---|---|
| committer | Roman Lebedev <lebedev.ri@gmail.com> | 2021-03-22 15:25:32 +0300 |
| commit | aae10a94ff12d1766e7d5a3ef743ae5fd7b0b60d (patch) | |
| tree | cdca9b34831fa96c82f2fdd04df6349880e9c862 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | 46b055287b80d038e5475e9c4c97603a62c91b80 (diff) | |
[NFC][lit] discovery: find_tests_for_inputs: avoid py warning when no suites found
If lit was run on a directory that contained no suites,
then naturally suite[0] will not be there,
and that line would cause python warnings.
So just predicate it with a check that it is there in the first place.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
