Skip to content

Commit fd8b84e

Browse files
committed
[lldb][test] Skip beginning/end of file tests on Windows
Added in #137515, as the source uses unistd.h which isn't present there. | C:\Users\tcwg\llvm-worker\lldb-aarch64-windows\llvm-project\lldb\test\Shell\Commands/Inputs/sigchld.c:4:10: fatal error: 'unistd.h' file not found | 4 | #include <unistd.h> | | ^~~~~~~~~~ | 1 error generated.
1 parent 234ae9b commit fd8b84e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lldb/test/Shell/Commands/command-list-reach-beginning-of-file.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Source uses unistd.h.
2+
# UNSUPPORTED: system-windows
13
# RUN: %clang_host -g -O0 %S/Inputs/sigchld.c -o %t.out
24
# RUN: %lldb %t.out -b -s %s 2>&1 | FileCheck %s
35

lldb/test/Shell/Commands/command-list-reach-end-of-file.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Source uses unistd.h.
2+
# UNSUPPORTED: system-windows
13
# RUN: %clang_host -g -O0 %S/Inputs/sigchld.c -o %t.out
24
# RUN: %lldb %t.out -b -s %s 2>&1 | FileCheck %s
35

@@ -23,4 +25,4 @@ list
2325
# CHECK: note: Reached end of the file, no more to page
2426

2527
list
26-
# CHECK: note: Reached end of the file, no more to page
28+
# CHECK: note: Reached end of the file, no more to page

0 commit comments

Comments
 (0)