mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 04:09:45 +00:00
cmake: Avoid continue, apparently that's new
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268812 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
05803957d4
commit
2fae05b357
@ -1059,14 +1059,13 @@ function(add_lit_testsuites project directory)
|
||||
set(cur_to_process ${to_process})
|
||||
set(to_process)
|
||||
foreach(lit_suite ${cur_to_process})
|
||||
if(NOT IS_DIRECTORY ${lit_suite})
|
||||
continue()
|
||||
endif()
|
||||
string(FIND ${lit_suite} Inputs is_inputs)
|
||||
if (is_inputs EQUAL -1)
|
||||
list(APPEND lit_suites "${lit_suite}")
|
||||
file(GLOB subdirs ${lit_suite}/*)
|
||||
list(APPEND to_process ${subdirs})
|
||||
if(IS_DIRECTORY ${lit_suite})
|
||||
string(FIND ${lit_suite} Inputs is_inputs)
|
||||
if (is_inputs EQUAL -1)
|
||||
list(APPEND lit_suites "${lit_suite}")
|
||||
file(GLOB subdirs ${lit_suite}/*)
|
||||
list(APPEND to_process ${subdirs})
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
endwhile()
|
||||
|
Loading…
Reference in New Issue
Block a user