You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
1f80e51546
Files imported by the script interpreter aren't opened by LLDB so they don't end up in the reproducer. The solution is to explicitly add them to the FileCollector. Differential revision: https://reviews.llvm.org/D76626
12 lines
429 B
Plaintext
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
|