
…ers" (#143941) Reland the script that converts lldb headers to RPC headers. The RPC test was failing due to the incorrect input filepath being used. Original commit message: This commit replaces the shell script that fixes up includes for the LLDB framework with a Python script. This script will also be used when fixing up includes for the LLDBRPC.framework.
13 lines
522 B
Plaintext
13 lines
522 B
Plaintext
# REQUIRES: system-darwin
|
|
# 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 USWIG
|
|
|
|
# Check the output
|
|
RUN: cat %t/Outputs/SBAddress.h | FileCheck %s
|
|
|
|
# Any include guards specified at the command line must be removed.
|
|
CHECK-NOT: #ifndef SWIG
|
|
CHECK: int a = 10
|
|
CHECK-NOT: #endif
|