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

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