With in-tree builds we can get Output directories scattered among our
tests. Recursing into those to find tests doesn't make sense.
Thanks to nlewycky for noticing this!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@276667
91177308-0d34-0410-b5e6-
96231b3b80d8
continue()
endif()
string(FIND ${lit_suite} Inputs is_inputs)
- if (NOT is_inputs EQUAL -1)
+ string(FIND ${lit_suite} Output is_output)
+ if (NOT (is_inputs EQUAL -1 AND is_output EQUAL -1))
continue()
endif()