brintos

brintos / llvm-project-archived public Read only

0
0
Text · 883 B · 72444aa Raw
23 lines · plain
1RUN: mkdir -p %t/Outputs2 3# Run the convert script on SBDefines.h.4RUN: %python %p/../../../../../scripts/convert-lldb-header-to-rpc-header.py %p/Inputs/SBDefines.h %t/Outputs/SBDefines.h5 6# Check the output7RUN: cat %t/Outputs/SBDefines.h | FileCheck %s8 9# The include guards must change from LLDB_LLDB_API_SBDEFINES_H to LLDB_RPC_API_SBDEFINES_H.10CHECK: #ifndef LLDB_RPC_API_SBDEFINES_H11CHECK: #define LLDB_RPC_API_SBDEFINES_H12 13# Includes of other lldb headers must begin with "lldb-rpc-".14# Also, the includes for lldb-forward.h and lldb-versioning.h should be removed.15CHECK: #include "lldb-rpc-defines.h"16CHECK-NOT: #include "lldb-rpc-forward.h"17CHECK: #include "lldb-rpc-enumerations.h"18CHECK: #include "lldb-rpc-types.h"19CHECK-NOT: #include "lldb-rpc-versioning.h"20 21# The comment that closes the include guard should match the guard.22CHECK: #endif // LLDB_RPC_API_SBDEFINES_H23