From 83a093b8ecc8a8e3a4420dc5385dca57e8016109 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 22 Jan 2020 16:53:09 -0800 Subject: [PATCH] [lldb/Reproducer] Mark some driver tests as unsupported for lldb-repro These test are checking for diagnostics printed by the driver. During replay we only replay the SB API calls made by the driver, so it's expected that these messages aren't displayed. --- lldb/test/Shell/Driver/LocalLLDBInit.test | 2 ++ lldb/test/Shell/Driver/TestCore.test | 2 ++ lldb/test/Shell/Driver/TestFile.test | 2 ++ lldb/test/Shell/Driver/TestRepl.test | 2 ++ 4 files changed, 8 insertions(+) diff --git a/lldb/test/Shell/Driver/LocalLLDBInit.test b/lldb/test/Shell/Driver/LocalLLDBInit.test index 69b7781415a3..e1b66a099844 100644 --- a/lldb/test/Shell/Driver/LocalLLDBInit.test +++ b/lldb/test/Shell/Driver/LocalLLDBInit.test @@ -1,4 +1,6 @@ # REQUIRES: python +# UNSUPPORTED: lldb-repro +# # RUN: mkdir -p %t.root # RUN: mkdir -p %t.home # RUN: cp %S/Inputs/.lldbinit %t.root diff --git a/lldb/test/Shell/Driver/TestCore.test b/lldb/test/Shell/Driver/TestCore.test index cca8171da631..247261723512 100644 --- a/lldb/test/Shell/Driver/TestCore.test +++ b/lldb/test/Shell/Driver/TestCore.test @@ -1,2 +1,4 @@ +# UNSUPPORTED: lldb-repro +# # RUN: not %lldb -c /bogus/path 2>&1 | FileCheck %s # CHECK: error: file specified in --core (-c) option doesn't exist diff --git a/lldb/test/Shell/Driver/TestFile.test b/lldb/test/Shell/Driver/TestFile.test index 0e80594aeb1b..776baf8ba0c5 100644 --- a/lldb/test/Shell/Driver/TestFile.test +++ b/lldb/test/Shell/Driver/TestFile.test @@ -1,2 +1,4 @@ +# UNSUPPORTED: lldb-repro +# # RUN: not %lldb -f /bogus/path 2>&1 | FileCheck %s # CHECK: error: file specified in --file (-f) option doesn't exist diff --git a/lldb/test/Shell/Driver/TestRepl.test b/lldb/test/Shell/Driver/TestRepl.test index 083863985a14..a0bf8c26fd57 100644 --- a/lldb/test/Shell/Driver/TestRepl.test +++ b/lldb/test/Shell/Driver/TestRepl.test @@ -1,3 +1,5 @@ +# UNSUPPORTED: lldb-repro +# # RUN: echo ':quit' | %lldb -x --repl -O 'expr 42' -S %S/Inputs/Print2.in -o 'expr 999999' -s %s 2>&1 | FileCheck %s # CHECK: {{w}}arning: commands specified to run after file load (via -o or -s) are ignored in REPL mode # CHECK: (int) $0 = 42