-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[lldb][test][win][x86_64] XFAIL already failing Shell/Driver tests #100473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[lldb][test][win][x86_64] XFAIL already failing Shell/Driver tests #100473
Conversation
@llvm/pr-subscribers-lldb Author: Kendal Harland (kendalharland) ChangesI'm currently working on getting the LLDB test suites to pass on Windows x86_64 which is not currently included in LLVM CI. These tests are currently failing on this configuration. Full diff: https://github.com/llvm/llvm-project/pull/100473.diff 2 Files Affected:
diff --git a/lldb/test/Shell/Driver/TestConvenienceVariables.test b/lldb/test/Shell/Driver/TestConvenienceVariables.test
index 45dc7673bfc51..36ec0748a5a02 100644
--- a/lldb/test/Shell/Driver/TestConvenienceVariables.test
+++ b/lldb/test/Shell/Driver/TestConvenienceVariables.test
@@ -3,6 +3,7 @@ RUN: mkdir -p %t
RUN: %build %p/Inputs/hello.cpp -o %t/target.out
RUN: %lldb %t/target.out -s %p/Inputs/convenience.in -o quit | FileCheck %s
+# XFAIL: target=x86_64-{{.*}}-windows{{.*}}
CHECK: stop reason = breakpoint 1.1
CHECK: script print(lldb.debugger)
CHECK-NEXT: Debugger (instance: {{.*}}, id: {{[0-9]+}})
diff --git a/lldb/test/Shell/Driver/TestSingleQuote.test b/lldb/test/Shell/Driver/TestSingleQuote.test
index af321ba04db39..5d721b5a3345c 100644
--- a/lldb/test/Shell/Driver/TestSingleQuote.test
+++ b/lldb/test/Shell/Driver/TestSingleQuote.test
@@ -2,5 +2,6 @@
# RUN: %clang_host %p/Inputs/hello.c -g -o "%t-'pat"
# RUN: %lldb -s %s "%t-'pat" | FileCheck %s
+# XFAIL: target=x86_64-{{.*}}-windows{{.*}}
br set -p return
# CHECK: Breakpoint 1: where = TestSingleQuote.test.tmp-'pat`main
|
How are these tests failing? Neither of them seem to be testing something specific to x86_64 and presumably the test are passing on the aarch64 windows buildbot? |
I am currently seeing this output. I'm not really knowledgeable enough about LLDB to debug these tests quickly and am trying to get a working Windows x86_64 build ASAP, so apologies if I don't have much insight into why some of these tests are broken. If the output below is meaningful to you and looks like something I could fix pretty quickly - e.g. something I've probably not set in my local environment, I'm happy to try debugging it.
|
I think it's just that it expected 1.1 and got 1.2. I don't know what the bit after the point means, is it the location? So this did Which doesn't make sense so maybe the |
More likely than not. Though the test step is not verbose for some reason despite being told to be. I'll see if I can fix that. |
That's exactly what it means. The breakpoint gets one location when its set (the process is not running yet):
and then another when when it runs:
Although this test doesn't really care about the number of breakpoint locations (so we could just delete the Also, the duplicate location reminds me of some similar situations where we (used to?) fail to correctly unique modules in presence of symlinks and stuff. What can you tell us about the path ( |
After #100477 I learned that my CMake configuration is largely to blame for most of the failures I was observing. TestConvenienceVariables.test is now passing for me and I am investigating why TestSingleQuote.test is still failing. I will fold this change into #100476 and work with @dzhidzhoev to figure out why my build results do match those in his Windows Native CI and those in lldb-aarch-windows first. |
I'm currently working on getting the LLDB test suites to pass on Windows x86_64 which is not currently included in LLVM CI. These tests are currently failing in this configuration.
See #100474