mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 05:32:28 +08:00
This is part of a bigger rework of the reproducer feature. See [1] for more details. [1] https://lists.llvm.org/pipermail/lldb-dev/2021-September/017045.html
18 lines
495 B
Plaintext
18 lines
495 B
Plaintext
# REQUIRES: system-darwin
|
|
|
|
# This tests the reproducer version check.
|
|
|
|
# RUN: rm -rf %t.repro
|
|
# RUN: %clang_host %S/Inputs/simple.c -g -o %t.out
|
|
# RUN: %lldb -x -b -s %S/Inputs/FileCapture.in --capture --capture-path %t.repro %t.out | FileCheck %s --check-prefix CHECK --check-prefix CAPTURE
|
|
|
|
# Change the reproducer version.
|
|
# RUN: echo "bogus" >> %t.repro/version.txt
|
|
|
|
# CAPTURE: testing
|
|
|
|
# CHECK: Process {{.*}} exited
|
|
|
|
# CAPTURE: Reproducer is in capture mode.
|
|
# CAPTURE: Reproducer written
|