From: Med Ismail Bennani Date: Tue, 15 Nov 2022 22:23:26 +0000 (-0800) Subject: [lldb/test] Fix app_specific_backtrace_crashlog.test (NFC) X-Git-Tag: upstream/17.0.6~27563 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8d416099240a2c090bd461f99c3014bac828cf98;p=platform%2Fupstream%2Fllvm.git [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 --- 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