llvm-project/lldb/test/Shell/SymbolFile/PDB/variables-locations.test
Vladislav Dzhidzhoev 20c4e95b9c
[lldb][test] Fix remote Shell tests failures on Windows host (#115716)
Since the remote Shell test execution feature was added, these tests
should now be disabled on Windows target instead of Windows host.

It should fix failures on
https://lab.llvm.org/staging/#/builders/197/builds/76.
2024-11-12 18:03:24 +01:00

21 lines
523 B
Plaintext

REQUIRES: target-windows, lld
RUN: %build --compiler=clang-cl --output=%t.exe %S/Inputs/VariablesLocationsTest.cpp
RUN: %lldb -b -s %S/Inputs/VariablesLocationsTest.script -- %t.exe | FileCheck %s
RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -b -s %S/Inputs/VariablesLocationsTest.script -- %t.exe | FileCheck %s
CHECK: g_var = 2222
CHECK: arg_0 = 1111
CHECK: arg_1 = 0.123
CHECK: loc_0 = 'x'
CHECK: loc_1 = 0.567
CHECK: loc_0 = true
CHECK: loc_1 = 3333
CHECK: arg_0 = 22
CHECK: loc_0 = (a = 1234)
CHECK: loc_1 = 5678