[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.
Loading
Please sign in to comment