blob: 8dac76d22e7d6621b9095d68eef82c884f2b6b68 [file] [edit]
# REQUIRES: python
# Check that the diagnostics bundle lists the live scripted extensions, so a
# triager can see which scripts were loaded and from where.
# RUN: rm -rf %t
# RUN: %lldb --no-lldbinit -b -o 'command script import %S/Inputs/scripted_command.py' \
# RUN: -o 'diagnostics dump -d %t'
# RUN: FileCheck %s --input-file=%t/commands.txt
# CHECK: === scripting extension list --instances ===
# CHECK: Class: scripted_command.EchoCommand
# CHECK: Extension: ScriptedCommand
# CHECK: Path: {{.*}}Inputs{{[/\\]}}scripted_command.py