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'])) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits