llvm-project/lldb/test/Shell/Reproducer/TestPythonImport.test

12 lines
429 B
Plaintext

# REQUIRES: python
# UNSUPPORTED: system-windows
# Ensure that the reproducers know about imported Python modules.
# RUN: rm -rf %t.repro
# RUN: %lldb -x -b --capture --capture-path %t.repro -o 'command script import %S/Inputs/foo.py' -o 'reproducer generate' | FileCheck %s --check-prefix CAPTURE
# CAPTURE: 95126
# RUN: %lldb -b -o 'reproducer dump -p files -f %t.repro' | FileCheck %s --check-prefix FILES
# FILES: foo.py