Skip to content

Commit 20c4e95

Browse files
authored
[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.
1 parent 47ef3a0 commit 20c4e95

23 files changed

+25
-22
lines changed

lldb/test/Shell/Commands/command-disassemble-mixed.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// invalid mixed disassembly line
22

3-
// XFAIL: system-windows
3+
// XFAIL: target-windows
44

55
// RUN: %clang_host -g %s -o %t
66
// RUN: %lldb %t -o "dis -m -n main" -o "exit" | FileCheck %s

lldb/test/Shell/Commands/command-expr-diagnostics.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# XFAIL: system-windows
1+
# XFAIL: target-windows
22
# RUN: echo quit | %lldb -o "expression a+b" \
33
# RUN: | FileCheck %s --strict-whitespace --check-prefix=CHECK1
44
# (lldb) expression a+b

lldb/test/Shell/Commands/command-target-create-resolve-exe.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: system-windows
1+
# REQUIRES: target-windows
22

33
## This checks that when starting lldb (or using `target create`) with a
44
## program name which is on $PATH, or not specify the .exe suffix of a program

lldb/test/Shell/Expr/TestAnonNamespaceParamFunc.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// linkage. In this case, a function whose argument
44
// is not legally usable outside this TU.
55

6-
// XFAIL: system-windows
6+
// XFAIL: target-windows
77

88
// RUN: %build %s -o %t
99
// RUN: %lldb %t -o run -o "expression func(a)" -o exit | FileCheck %s

lldb/test/Shell/Expr/TestIRMemoryMapWindows.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# REQUIRES: system-windows
1+
# REQUIRES: target-windows
22

33
# RUN: %clang_cl_host /Zi /GS- %p/Inputs/call-function.cpp /c /o %t.obj
44
# RUN: %msvc_link /debug:full %t.obj /out:%t

lldb/test/Shell/Process/Windows/exception_access_violation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// clang-format off
22

3-
// REQUIRES: system-windows
3+
// REQUIRES: target-windows
44
// RUN: %build --compiler=clang-cl -o %t.exe -- %s
55
// RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -o "run" -- write | FileCheck --check-prefix=WRITE %s
66
// RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -o "run" -- read | FileCheck --check-prefix=READ %s

lldb/test/Shell/Process/Windows/process_load.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// clang-format off
22

3-
// REQUIRES: system-windows
3+
// REQUIRES: target-windows
44
// RUN: %build --compiler=clang-cl -o %t.exe -- %s
55
// RUN: env LLDB_USE_NATIVE_PDB_READER=1 %lldb -f %t.exe -o "b main" -o "process launch" -o "process load kernel32.dll" | FileCheck %s
66

lldb/test/Shell/SymbolFile/DWARF/packed.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// XFAIL: system-windows
1+
// XFAIL: target-windows
22
// RUN: %clangxx_host -gdwarf -o %t %s
33
// RUN: %lldb %t \
44
// RUN: -o "expr alignof(packed)" \

lldb/test/Shell/SymbolFile/NativePDB/local-variables.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// clang-format off
22

3-
// REQUIRES: system-windows
3+
// REQUIRES: target-windows
44
// RUN: %build -o %t.exe -- %s
55
// RUN: %lldb -f %t.exe -s \
66
// RUN: %p/Inputs/local-variables.lldbinit 2>&1 | FileCheck %s

lldb/test/Shell/SymbolFile/NativePDB/stack_unwinding01.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// clang-format off
2-
// REQUIRES: lld, system-windows
2+
// REQUIRES: lld, target-windows
33

44
// RUN: %build --compiler=clang-cl --nodefaultlib -o %t.exe -- %s
55
// RUN: %lldb -f %t.exe -s \

0 commit comments

Comments
 (0)