[Lldb-commits] [lldb] b71ac7e - [lldb/test] Fix command-disassemble-mixed.c
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 18 01:17:29 PDT 2023
Author: Pavel Labath
Date: 2023-07-18T10:17:09+02:00
New Revision: b71ac7eea4c5851203432dde94241d56301a9398
URL: https://github.com/llvm/llvm-project/commit/b71ac7eea4c5851203432dde94241d56301a9398
DIFF: https://github.com/llvm/llvm-project/commit/b71ac7eea4c5851203432dde94241d56301a9398.diff
LOG: [lldb/test] Fix command-disassemble-mixed.c
Add it to lit.local.cfg so that it's actually run, and change it to
(properly) use the %clang_host substitution.
Added:
Modified:
lldb/test/Shell/Commands/command-disassemble-mixed.c
lldb/test/Shell/Commands/lit.local.cfg
Removed:
################################################################################
diff --git a/lldb/test/Shell/Commands/command-disassemble-mixed.c b/lldb/test/Shell/Commands/command-disassemble-mixed.c
index d15832cabd8402..4c4f6408d9b20e 100644
--- a/lldb/test/Shell/Commands/command-disassemble-mixed.c
+++ b/lldb/test/Shell/Commands/command-disassemble-mixed.c
@@ -1,6 +1,6 @@
// invalid mixed disassembly line
-// RUN: %clang -g %s -o %t
+// RUN: %clang_host -g %s -o %t
// RUN: %lldb %t -o "dis -m -n main" -o "exit" | FileCheck %s
// CHECK: int main
diff --git a/lldb/test/Shell/Commands/lit.local.cfg b/lldb/test/Shell/Commands/lit.local.cfg
index b83eee443fccac..0a7d1d473b23f1 100644
--- a/lldb/test/Shell/Commands/lit.local.cfg
+++ b/lldb/test/Shell/Commands/lit.local.cfg
@@ -1,4 +1,4 @@
-config.suffixes = ['.s', '.test', '.yaml']
+config.suffixes = ['.s', '.test', '.yaml', '.c']
# This is needed by command-target-create-resolve-exe.test
config.substitutions.append(('%{PATH}', config.environment['PATH']))
More information about the lldb-commits
mailing list