
When gathering the headers to fix up and place in LLDB.framework, we were previously globbing the header files from a location in the build directory. This commit changes this to glob from the source directory instead, as we were globbing from the build directory without ensuring that the necessary files were actually in that location before globbing.
13 lines
622 B
Plaintext
13 lines
622 B
Plaintext
# Create a temp dir for output and run the framework fix script on the truncated version of SBAddress.h in the inputs dir.
|
|
RUN: mkdir -p %t/Outputs
|
|
RUN: %python %p/../../../scripts/framework-header-fix.py -f lldb_main -i %p/Inputs/Main/SBAddress.h -o %t/Outputs/SBAddress.h -p /usr/bin/unifdef --unifdef_guards USWIG
|
|
|
|
# Check the output
|
|
RUN: cat %t/Outputs/SBAddress.h | FileCheck %s
|
|
|
|
# Local includes must be changed to framework level includes.
|
|
# e.g. #include "lldb/API/SBDefines.h" -> #include <LLDB/SBDefines.h>
|
|
CHECK: #include <LLDB/SBDefines.h>
|
|
CHECK: #include <LLDB/SBModule.h>
|
|
CHECK: #include <LLDB/lldb-types.h>
|