summaryrefslogtreecommitdiff
path: root/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp
diff options
context:
space:
mode:
authorOrlando Cazalet-Hyams <orlando.hyams@sony.com>2025-09-08 11:53:54 +0100
committerGitHub <noreply@github.com>2025-09-08 10:53:54 +0000
commit5341e267fb254ae8c3968c4b7bc7fec43e8f5a74 (patch)
tree96d5777ccbe54fd09dcdc826fa4b7e16f235f312 /cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp
parente1acbc350955b30e581e218145beb39e671234cf (diff)
[Dexter] Temporarily print DAP logs on specific exception (#157130)
Buildbot cross-project-tests-sie-ubuntu sees sporadic test failures due to missing "stackTrace" "source" "path". The "path" field is optional for "source" according to DAP, so it's well formed. It works most of the time, and doesn't consistently fail for any one test which is all strangely inconsistent. The failures couldn't be reproduced locally after running the feature_tests in a loop for 3 hours. I haven't been able to work out why the "source" is sometimes missing by just looking at LLDB code. This patch prints the DAP log to stderr when the specific error condition is hit, to help us understand why LLDB is sometimes getting into this state. Dump additional context from FileCheck so this can be seen on the bots (on a failure). This patch will be reverted once we've collected some logs.
Diffstat (limited to 'cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp')
-rw-r--r--cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp
index 934b4e978073..7f3a9edccf2a 100644
--- a/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp
+++ b/cross-project-tests/debuginfo-tests/dexter/feature_tests/commands/penalty/expect_program_state.cpp
@@ -5,7 +5,7 @@
// UNSUPPORTED: system-darwin
//
// RUN: %dexter_regression_test_cxx_build %s -o %t
-// RUN: not %dexter_regression_test_run --binary %t -- %s | FileCheck %s
+// RUN: not %dexter_regression_test_run --binary %t -- %s | FileCheck --dump-input-context=999999999 %s
// CHECK: expect_program_state.cpp:
int GCD(int lhs, int rhs)