[Lldb-commits] [lldb] fd8b84e - [lldb][test] Skip beginning/end of file tests on Windows
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Fri May 9 03:31:48 PDT 2025
Author: David Spickett
Date: 2025-05-09T10:31:17Z
New Revision: fd8b84ea0fa1eb1da105257f419d926278dc0445
URL: https://github.com/llvm/llvm-project/commit/fd8b84ea0fa1eb1da105257f419d926278dc0445
DIFF: https://github.com/llvm/llvm-project/commit/fd8b84ea0fa1eb1da105257f419d926278dc0445.diff
LOG: [lldb][test] Skip beginning/end of file tests on Windows
Added in https://github.com/llvm/llvm-project/pull/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.
Added:
Modified:
lldb/test/Shell/Commands/command-list-reach-beginning-of-file.test
lldb/test/Shell/Commands/command-list-reach-end-of-file.test
Removed:
################################################################################
diff --git a/lldb/test/Shell/Commands/command-list-reach-beginning-of-file.test b/lldb/test/Shell/Commands/command-list-reach-beginning-of-file.test
index 5ca1b5c2306a7..fa4a93e5904aa 100644
--- a/lldb/test/Shell/Commands/command-list-reach-beginning-of-file.test
+++ b/lldb/test/Shell/Commands/command-list-reach-beginning-of-file.test
@@ -1,3 +1,5 @@
+# Source uses unistd.h.
+# UNSUPPORTED: system-windows
# RUN: %clang_host -g -O0 %S/Inputs/sigchld.c -o %t.out
# RUN: %lldb %t.out -b -s %s 2>&1 | FileCheck %s
diff --git a/lldb/test/Shell/Commands/command-list-reach-end-of-file.test b/lldb/test/Shell/Commands/command-list-reach-end-of-file.test
index c5e9c8169e7d9..edf4c521a9e76 100644
--- a/lldb/test/Shell/Commands/command-list-reach-end-of-file.test
+++ b/lldb/test/Shell/Commands/command-list-reach-end-of-file.test
@@ -1,3 +1,5 @@
+# Source uses unistd.h.
+# UNSUPPORTED: system-windows
# RUN: %clang_host -g -O0 %S/Inputs/sigchld.c -o %t.out
# RUN: %lldb %t.out -b -s %s 2>&1 | FileCheck %s
@@ -23,4 +25,4 @@ list
# CHECK: note: Reached end of the file, no more to page
list
-# CHECK: note: Reached end of the file, no more to page
\ No newline at end of file
+# CHECK: note: Reached end of the file, no more to page
More information about the lldb-commits
mailing list