From 8d416099240a2c090bd461f99c3014bac828cf98 Mon Sep 17 00:00:00 2001 From: Med Ismail Bennani Date: Tue, 15 Nov 2022 14:23:26 -0800 Subject: [PATCH] [lldb/test] Fix app_specific_backtrace_crashlog.test (NFC) This patch changes app_specific_backtrace_crashlog.test's crashlog file extension from `ips` to `txt. This should prevent the test from opening Console.app when being run. This should also fix a test failure caused by missing symbols. Signed-off-by: Med Ismail Bennani --- .../Crashlog/Inputs/application_specific_info/{asi.ips => asi.txt} | 0 .../Python/Crashlog/app_specific_backtrace_crashlog.test | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/application_specific_info/{asi.ips => asi.txt} (100%) diff --git a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/application_specific_info/asi.ips b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/application_specific_info/asi.txt similarity index 100% rename from lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/application_specific_info/asi.ips rename to lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/application_specific_info/asi.txt diff --git a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/app_specific_backtrace_crashlog.test b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/app_specific_backtrace_crashlog.test index 5ca5c51..c57cefd 100644 --- a/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/app_specific_backtrace_crashlog.test +++ b/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/app_specific_backtrace_crashlog.test @@ -3,7 +3,7 @@ # RUN: mkdir -p %t.dir # RUN: yaml2obj %S/Inputs/application_specific_info/asi.yaml > %t.dir/asi # RUN: %lldb -o 'command script import lldb.macosx.crashlog' \ -# RUN: -o 'crashlog -a -i -t %t.dir/asi %S/Inputs/application_specific_info/asi.ips' \ +# RUN: -o 'crashlog -a -i -t %t.dir/asi %S/Inputs/application_specific_info/asi.txt' \ # RUN: -o "thread list" -o "bt all" 2>&1 | FileCheck %s # CHECK: "crashlog" {{.*}} commands have been installed, use the "--help" options on these commands @@ -44,7 +44,7 @@ # CHECK-NEXT: frame #3: 0x00000001a0b46af3{{.*}} # CHECK-NEXT: frame #4: 0x00000001a09a12a3{{.*}} # CHECK-NEXT: frame #5: 0x00000001047e3ecf asi`main{{.*}} -# CHECK-NEXT: frame #6: 0x00000001a05d3e4f dyld`start{{.*}} +# CHECK-NEXT: frame #6: 0x00000001a05d3e4f # CHECK: (lldb) thread list -- 2.7.4