13 lines · plain
1# REQUIRES: system-darwin2# Create a temp dir for output and run the framework fix script on the truncated version of SBAddress.h in the inputs dir.3RUN: mkdir -p %t/Outputs4RUN: %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 SWIG5 6# Check the output7RUN: cat %t/Outputs/SBAddress.h | FileCheck %s8 9# Any include guards specified at the command line must be removed.10CHECK-NOT: #ifndef SWIG11CHECK: int a = 1012CHECK-NOT: #endif13