CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
57 lines
3.3 KiB
Plaintext
57 lines
3.3 KiB
Plaintext
# This test validates the --domain flag on the plugin list command.
|
|
#
|
|
# Note that commands that return errors will stop running a script, so we
|
|
# have new RUN lines for any command that is expected to return an error.
|
|
|
|
# RUN: %lldb -s %s -o exit 2>&1 | FileCheck %s
|
|
|
|
# Test plugin list --domain global works with a non-instrumentation runtime
|
|
# plugin.
|
|
plugin list --domain global language.cplusplus
|
|
# CHECK-LABEL: plugin list --domain global language.cplusplus
|
|
# CHECK: language
|
|
# CHECK: [+] cplusplus
|
|
|
|
# Test plugin list --domain global works with an instrumentation runtime
|
|
# plugin.
|
|
plugin list --domain global instrumentation-runtime.UndefinedBehaviorSanitizer
|
|
# CHECK-LABEL: plugin list --domain global instrumentation-runtime.UndefinedBehaviorSanitizer
|
|
# CHECK: instrumentation-runtime
|
|
# CHECK: [+] UndefinedBehaviorSanitizer
|
|
|
|
# Error cases with on a plugin that only supports the global domain.
|
|
|
|
# Test plugin list --domain debugger returns an error (text format).
|
|
# RUN: %lldb -o "plugin list --domain debugger language.cplusplus" 2>&1 | FileCheck %s --check-prefix=ERROR_LIST_DEBUGGER
|
|
# ERROR_LIST_DEBUGGER: error: debugger domain is not supported
|
|
|
|
# Test plugin list --domain target returns an error (text format).
|
|
# RUN: %lldb -o "plugin list --domain target language.cplusplus" 2>&1 | FileCheck %s --check-prefix=ERROR_LIST_TARGET
|
|
# ERROR_LIST_TARGET: error: target domain is not supported
|
|
|
|
# Test plugin list --domain debugger --json returns an error (json format).
|
|
# RUN: %lldb -o "plugin list --domain debugger --json language.cplusplus" 2>&1 | FileCheck %s --check-prefix=ERROR_LIST_JSON_DEBUGGER
|
|
# ERROR_LIST_JSON_DEBUGGER: error: debugger domain is not supported
|
|
|
|
# Test plugin list --domain target --json returns an error (json format).
|
|
# RUN: %lldb -o "plugin list --domain target --json language.cplusplus" 2>&1 | FileCheck %s --check-prefix=ERROR_LIST_JSON_TARGET
|
|
# ERROR_LIST_JSON_TARGET: error: target domain is not supported
|
|
|
|
# Error cases with on a plugin that supports all domains.
|
|
|
|
# Test plugin list --domain debugger returns an error for instrumentation-runtime plugin (text format).
|
|
# RUN: %lldb -o "plugin list --domain debugger instrumentation-runtime.UndefinedBehaviorSanitizer" 2>&1 | FileCheck %s --check-prefix=ERROR_LIST_DEBUGGER_IR
|
|
# ERROR_LIST_DEBUGGER_IR: error: debugger domain is not supported
|
|
|
|
# Test plugin list --domain target returns an error for instrumentation-runtime plugin (text format).
|
|
# RUN: %lldb -o "plugin list --domain target instrumentation-runtime.UndefinedBehaviorSanitizer" 2>&1 | FileCheck %s --check-prefix=ERROR_LIST_TARGET_IR
|
|
# ERROR_LIST_TARGET_IR: error: target domain is not supported
|
|
|
|
# Test plugin list --domain debugger --json returns an error for instrumentation-runtime plugin (json format).
|
|
# RUN: %lldb -o "plugin list --domain debugger --json instrumentation-runtime.UndefinedBehaviorSanitizer" 2>&1 | FileCheck %s --check-prefix=ERROR_LIST_JSON_DEBUGGER_IR
|
|
# ERROR_LIST_JSON_DEBUGGER_IR: error: debugger domain is not supported
|
|
|
|
# Test plugin list --domain target --json returns an error for instrumentation-runtime plugin (json format).
|
|
# RUN: %lldb -o "plugin list --domain target --json instrumentation-runtime.UndefinedBehaviorSanitizer" 2>&1 | FileCheck %s --check-prefix=ERROR_LIST_JSON_TARGET_IR
|
|
# ERROR_LIST_JSON_TARGET_IR: error: target domain is not supported
|