[lldb] pass --lldb-libs-dir argument to lldb-dotest
This argument was introduced in dcab9736f
, but lldb-dotest was not handled.
This commit is contained in:
parent
f5f70d1c8f
commit
5f1e45fd67
|
@ -4,6 +4,7 @@ add_dependencies(lldb-dotest lldb-test-deps)
|
|||
set_target_properties(lldb-dotest PROPERTIES FOLDER "lldb utils")
|
||||
|
||||
get_property(LLDB_DOTEST_ARGS GLOBAL PROPERTY LLDB_DOTEST_ARGS_PROPERTY)
|
||||
set(LLDB_LIBS_DIR "${LLVM_LIBRARY_OUTPUT_INTDIR}")
|
||||
|
||||
# Generate lldb-dotest Python driver script for each build mode.
|
||||
if(LLDB_BUILT_STANDALONE)
|
||||
|
|
|
@ -10,6 +10,8 @@ executable = '@LLDB_TEST_EXECUTABLE@'
|
|||
compiler = '@LLDB_TEST_COMPILER@'
|
||||
dsymutil = '@LLDB_TEST_DSYMUTIL@'
|
||||
filecheck = '@LLDB_TEST_FILECHECK@'
|
||||
lldb_libs_dir = "@LLDB_LIBS_DIR@"
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
wrapper_args = sys.argv[1:]
|
||||
|
@ -23,6 +25,7 @@ if __name__ == '__main__':
|
|||
cmd.extend(['--compiler', compiler])
|
||||
cmd.extend(['--dsymutil', dsymutil])
|
||||
cmd.extend(['--filecheck', filecheck])
|
||||
cmd.extend(['--lldb-libs-dir', lldb_libs_dir])
|
||||
cmd.extend(wrapper_args)
|
||||
# Invoke dotest.py and return exit code.
|
||||
print(' '.join(cmd))
|
||||
|
|
Loading…
Reference in New Issue