XFAIL dexter tests that broke greendragon.

The patch in https://reviews.llvm.org/D151465 broke greendragon, because
it is hardcoding the use of libstdc++ which is not available on darwin.

XFAILing these tests till they can be fixed.
This commit is contained in:
Shubham Sandeep Rastogi 2023-09-08 15:08:49 -07:00
parent 42da84fda9
commit 37a20cc68f
38 changed files with 38 additions and 0 deletions

View File

@ -1,5 +1,6 @@
// REQUIRES: lldb // REQUIRES: lldb
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// //
// RUN: %clang -std=gnu++11 -O0 -g -lstdc++ %s -o %t // RUN: %clang -std=gnu++11 -O0 -g -lstdc++ %s -o %t
// RUN: %dexter --fail-lt 1.0 -w \ // RUN: %dexter --fail-lt 1.0 -w \

View File

@ -1,5 +1,6 @@
// REQUIRES: lldb // REQUIRES: lldb
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// //
// RUN: %clang -std=gnu++11 -O0 -glldb %s -o %t // RUN: %clang -std=gnu++11 -O0 -glldb %s -o %t
// RUN: %dexter --fail-lt 1.0 -w \ // RUN: %dexter --fail-lt 1.0 -w \

View File

@ -1,5 +1,6 @@
// REQUIRES: lldb // REQUIRES: lldb
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// //
// This test case checks debug info during register moves for an argument. // This test case checks debug info during register moves for an argument.
// RUN: %clang -std=gnu11 -m64 -mllvm -fast-isel=false -g %s -o %t // RUN: %clang -std=gnu11 -m64 -mllvm -fast-isel=false -g %s -o %t

View File

@ -4,6 +4,7 @@
// REQUIRES: lldb // REQUIRES: lldb
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// RUN: %clang -std=gnu++11 -O0 -g %s -o %t // RUN: %clang -std=gnu++11 -O0 -g %s -o %t
// RUN: %dexter --fail-lt 1.0 -w \ // RUN: %dexter --fail-lt 1.0 -w \
// RUN: --binary %t --debugger 'lldb' -v -- %s // RUN: --binary %t --debugger 'lldb' -v -- %s

View File

@ -1,5 +1,6 @@
// REQUIRES: lldb // REQUIRES: lldb
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// RUN: %clang -std=gnu11 -O2 -glldb %s -o %t // RUN: %clang -std=gnu11 -O2 -glldb %s -o %t
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s // RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s

View File

@ -1,5 +1,6 @@
// REQUIRES: lldb // REQUIRES: lldb
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// RUN: %clang -std=gnu11 -O2 -glldb %s -o %t // RUN: %clang -std=gnu11 -O2 -glldb %s -o %t
// RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s // RUN: %dexter --fail-lt 1.0 -w --debugger lldb --binary %t -- %s
// //

View File

@ -4,6 +4,7 @@
// REQUIRES: lldb // REQUIRES: lldb
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// RUN: %clang -g -O0 %s -o %t // RUN: %clang -g -O0 %s -o %t
// RUN: %dexter --fail-lt 1.0 -w \ // RUN: %dexter --fail-lt 1.0 -w \

View File

@ -1,5 +1,6 @@
// REQUIRES: lldb // REQUIRES: lldb
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// //
// RUN: %clang -std=gnu11 -O -glldb %s -o %t // RUN: %clang -std=gnu11 -O -glldb %s -o %t
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'lldb' -- %s // RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'lldb' -- %s

View File

@ -1,6 +1,7 @@
// This test case verifies the debug location for variable-length arrays. // This test case verifies the debug location for variable-length arrays.
// REQUIRES: lldb // REQUIRES: lldb
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// //
// RUN: %clang -std=gnu11 -O0 -glldb %s -o %t // RUN: %clang -std=gnu11 -O0 -glldb %s -o %t
// RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'lldb' -- %s // RUN: %dexter --fail-lt 1.0 -w --binary %t --debugger 'lldb' -- %s

View File

@ -1,5 +1,6 @@
// The dbgeng driver doesn't support \DexCommandLine yet. // The dbgeng driver doesn't support \DexCommandLine yet.
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// //
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s

View File

@ -2,6 +2,7 @@
// Test that a \DexDeclareAddress value can have its value defined after // Test that a \DexDeclareAddress value can have its value defined after
// the first reference to that value. // the first reference to that value.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: address_after_ref.cpp // CHECK: address_after_ref.cpp

View File

@ -4,6 +4,7 @@
// expression after the target line has been stepped on a given number of // expression after the target line has been stepped on a given number of
// times. // times.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: address_hit_count.cpp // CHECK: address_hit_count.cpp

View File

@ -2,6 +2,7 @@
// Test that a \DexDeclareAddress value can be used to compare the // Test that a \DexDeclareAddress value can be used to compare the
// addresses of two local variables that refer to the same address. // addresses of two local variables that refer to the same address.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: expression_address.cpp // CHECK: expression_address.cpp

View File

@ -2,6 +2,7 @@
// Test that a \DexDeclareAddress value can be used to compare two equal // Test that a \DexDeclareAddress value can be used to compare two equal
// pointer variables. // pointer variables.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: identical_address.cpp // CHECK: identical_address.cpp

View File

@ -2,6 +2,7 @@
// Test that multiple \DexDeclareAddress references that point to different // Test that multiple \DexDeclareAddress references that point to different
// addresses can be used within a single \DexExpectWatchValue. // addresses can be used within a single \DexExpectWatchValue.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: multiple_address.cpp // CHECK: multiple_address.cpp

View File

@ -2,6 +2,7 @@
// Test that a \DexDeclareAddress value can be used to compare two pointer // Test that a \DexDeclareAddress value can be used to compare two pointer
// variables that have a fixed offset between them. // variables that have a fixed offset between them.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: offset_address.cpp // CHECK: offset_address.cpp

View File

@ -2,6 +2,7 @@
// Test that a \DexDeclareAddress value can be used to check the change in // Test that a \DexDeclareAddress value can be used to check the change in
// value of a variable over time, relative to its initial value. // value of a variable over time, relative to its initial value.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: self_comparison.cpp // CHECK: self_comparison.cpp

View File

@ -6,6 +6,7 @@
// condition (x == 5) is satisfied. // condition (x == 5) is satisfied.
// Tests using the default controller (no \DexLimitSteps). // Tests using the default controller (no \DexLimitSteps).
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: default_conditional.cpp // CHECK: default_conditional.cpp

View File

@ -7,6 +7,7 @@
// given number of times. // given number of times.
// Tests using the default controller (no \DexLimitSteps). // Tests using the default controller (no \DexLimitSteps).
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: default_conditional_hit_count.cpp // CHECK: default_conditional_hit_count.cpp

View File

@ -4,6 +4,7 @@
// specific number of times. // specific number of times.
// Tests using the default controller (no \DexLimitSteps). // Tests using the default controller (no \DexLimitSteps).
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: default_hit_count.cpp // CHECK: default_hit_count.cpp

View File

@ -4,6 +4,7 @@
// is stepped on. // is stepped on.
// Tests using the default controller (no \DexLimitSteps). // Tests using the default controller (no \DexLimitSteps).
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: default_simple.cpp // CHECK: default_simple.cpp

View File

@ -6,6 +6,7 @@
// //
// The dbgeng driver doesn't support \DexLimitSteps yet. // The dbgeng driver doesn't support \DexLimitSteps yet.
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// //
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s

View File

@ -7,6 +7,7 @@
// //
// The dbgeng driver doesn't support \DexLimitSteps yet. // The dbgeng driver doesn't support \DexLimitSteps yet.
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// //
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s

View File

@ -6,6 +6,7 @@
// //
// The dbgeng driver doesn't support \DexLimitSteps yet. // The dbgeng driver doesn't support \DexLimitSteps yet.
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// XFAIL: system-darwin
// //
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s

View File

@ -2,6 +2,7 @@
// Test that \DexLimitSteps keyword argument hit_count correctly limits // Test that \DexLimitSteps keyword argument hit_count correctly limits
// the number of times the command can trigger. // the number of times the command can trigger.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: hit_count.cpp // CHECK: hit_count.cpp

View File

@ -1,6 +1,7 @@
// Purpose: // Purpose:
// Check number of step lines are correctly reported in json output. // Check number of step lines are correctly reported in json output.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t --verbose -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t --verbose -- %s | FileCheck %s
// CHECK: limit_steps_check_json_step_count.cpp // CHECK: limit_steps_check_json_step_count.cpp

View File

@ -2,6 +2,7 @@
// Check the DexLimit steps only gathers step info for 2 iterations of a // Check the DexLimit steps only gathers step info for 2 iterations of a
// for loop. // for loop.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: limit_steps_expect_loop.cpp: // CHECK: limit_steps_expect_loop.cpp:

View File

@ -1,6 +1,7 @@
// Purpose: // Purpose:
// Ensure that limited stepping breaks for all expected values. // Ensure that limited stepping breaks for all expected values.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: limit_steps_expect_value.cpp // CHECK: limit_steps_expect_value.cpp

View File

@ -3,6 +3,7 @@
// doesn't exist. This can happen due to optimisations or label is on an // doesn't exist. This can happen due to optimisations or label is on an
// empty line. // empty line.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: limit_steps_line_mismatch.cpp // CHECK: limit_steps_line_mismatch.cpp

View File

@ -1,6 +1,7 @@
// Purpose: // Purpose:
// Ensure that multiple overlapping \DexLimitSteps ranges do not interfere. // Ensure that multiple overlapping \DexLimitSteps ranges do not interfere.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: limit_steps_overlapping_ranges.cpp // CHECK: limit_steps_overlapping_ranges.cpp

View File

@ -1,6 +1,7 @@
// Purpose: // Purpose:
// Test that LimitStep commands can exist on the same from line. // Test that LimitStep commands can exist on the same from line.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: limit_steps_same_line_conditional.cpp // CHECK: limit_steps_same_line_conditional.cpp

View File

@ -2,6 +2,7 @@
// Test that \DexLimitSteps can be used without a condition (i.e. the // Test that \DexLimitSteps can be used without a condition (i.e. the
// breakpoint range is set any time from_line is stepped on). // breakpoint range is set any time from_line is stepped on).
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: unconditional.cpp // CHECK: unconditional.cpp

View File

@ -11,6 +11,7 @@
// The dbgeng driver doesn't support \DexLimitSteps yet. // The dbgeng driver doesn't support \DexLimitSteps yet.
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: not %dexter_regression_test_run --binary %t -v -- %s | FileCheck %s // RUN: not %dexter_regression_test_run --binary %t -v -- %s | FileCheck %s

View File

@ -2,6 +2,7 @@
// Check that the optional keyword argument 'on_line' makes a \DexLabel label // Check that the optional keyword argument 'on_line' makes a \DexLabel label
// that line instead of the line the command is found on. // that line instead of the line the command is found on.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -- %s | FileCheck %s
// CHECK: label_another_line.cpp: (1.0000) // CHECK: label_another_line.cpp: (1.0000)

View File

@ -1,6 +1,7 @@
// Purpose: // Purpose:
// Check that we can use label-relative line numbers. // Check that we can use label-relative line numbers.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t -v -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t -v -- %s | FileCheck %s
// //

View File

@ -1,6 +1,7 @@
// The dbgeng driver doesn't support --target-run-args yet. // The dbgeng driver doesn't support --target-run-args yet.
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t --target-run-args "a b 'c d'" -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t --target-run-args "a b 'c d'" -- %s | FileCheck %s
// CHECK: target_run_args.c: // CHECK: target_run_args.c:

View File

@ -1,6 +1,7 @@
// The dbgeng driver doesn't support --target-run-args yet. // The dbgeng driver doesn't support --target-run-args yet.
// UNSUPPORTED: system-windows // UNSUPPORTED: system-windows
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t --target-run-args "a b 'c d'" -- %s | FileCheck %s // RUN: %dexter_regression_test_run --binary %t --target-run-args "a b 'c d'" -- %s | FileCheck %s
// CHECK: target_run_args_with_command.c: // CHECK: target_run_args_with_command.c:

View File

@ -1,6 +1,7 @@
// Purpose: // Purpose:
// Check the `view` subtool works with typical inputs. // Check the `view` subtool works with typical inputs.
// //
// XFAIL: system-darwin
// RUN: %dexter_regression_test_build %s -o %t // RUN: %dexter_regression_test_build %s -o %t
// RUN: %dexter_regression_test_run --binary %t --results %t.results -- %s // RUN: %dexter_regression_test_run --binary %t --results %t.results -- %s
// //