Rather than checking for Python explicitly, let the script interpreter handle things and print an error if the functionality is not supported.
3 lines
187 B
Plaintext
3 lines
187 B
Plaintext
# RUN: %lldb --script-language none -o 'command script import %t' 2>&1 | FileCheck %s
|
|
# CHECK: error: module importing failed: This script interpreter does not support importing modules.
|