[Lldb-commits] [lldb] 83a093b - [lldb/Reproducer] Mark some driver tests as unsupported for lldb-repro
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Wed Jan 22 17:18:18 PST 2020
Author: Jonas Devlieghere
Date: 2020-01-22T17:18:06-08:00
New Revision: 83a093b8ecc8a8e3a4420dc5385dca57e8016109
URL: https://github.com/llvm/llvm-project/commit/83a093b8ecc8a8e3a4420dc5385dca57e8016109
DIFF: https://github.com/llvm/llvm-project/commit/83a093b8ecc8a8e3a4420dc5385dca57e8016109.diff
LOG: [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.
Added:
Modified:
lldb/test/Shell/Driver/LocalLLDBInit.test
lldb/test/Shell/Driver/TestCore.test
lldb/test/Shell/Driver/TestFile.test
lldb/test/Shell/Driver/TestRepl.test
Removed:
################################################################################
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
More information about the lldb-commits
mailing list