brintos

brintos / llvm-project-archived public Read only

0
0
Text · 791 B · d7775c2 Raw
15 lines · plain
1# Create a temp dir for output and run the framework fix script on the truncated version of SBAddress.h in the inputs dir.2RUN: mkdir -p %t/Outputs3RUN: %python %p/../../../scripts/framework-header-fix.py -f lldb_rpc -i %p/Inputs/RPC/RPCSBAddress.h -o %t/Outputs/RPCSBAddress.h -p /usr/bin/unifdef --unifdef_guards SWIG4 5# Check the output6RUN: cat %t/Outputs/RPCSBAddress.h | FileCheck %s7 8# Local includes must be changed to RPC framework level includes.9# e.g. #include "SBDefines.h" -> #include <LLDBRPC/SBDefines.h>10# Also, RPC common code includes must change to RPC framework level includes.11# e.g. #include "lldb-rpc/common/RPCPublic.h" -> #include <LLDBRPC/RPCPublic.h>12CHECK: #include <LLDBRPC/LLDBRPC.h>13CHECK: #include <LLDBRPC/SBDefines.h>14CHECK: #include <LLDBRPC/RPCPublic.h>15