brintos

brintos / llvm-project-archived public Read only

0
0
Text · 822 B · 0d89d62 Raw
23 lines · plain
1RUN: mkdir -p %t/Outputs2 3# Run the convert script on lldb-defines.h.4RUN: %python %p/../../../../../scripts/convert-lldb-header-to-rpc-header.py %p/Inputs/lldb-defines.h %t/Outputs/lldb-rpc-defines.h5 6# Check the output7RUN: cat %t/Outputs/lldb-rpc-defines.h | FileCheck %s8 9# The include guards must change from LLDB_LLDB_DEFINES_H to LLDB_RPC_DEFINES_H.10CHECK: #ifndef LLDB_RPC_DEFINES_H11CHECK: #define LLDB_RPC_DEFINES_H12 13# Includes of other lldb headers must begin with "lldb-rpc-".14CHECK: #include "lldb-rpc-types.h"15 16# The version info must be changed from LLDB_VERSION to LLDB_RPC_VERSION17CHECK: #define LLDB_RPC_VERSION 2118CHECK: #define LLDB_RPC_REVISION 1219CHECK: #define LLDB_RPC_VERSION_STRING "21.0.12"20 21# The comment that closes the include guard should match the guard.22CHECK: #endif // LLDB_RPC_DEFINES_H23