Files
clang-p2996/lldb/test/Shell/Reproducer/Functionalities/TestDataFormatter.test
Jonas Devlieghere 87aa9c9e4d Re-land "[test] Split LLDB tests into API, Shell & Unit"
The original patch got reverted because it broke `check-lldb` on a clean
build. This fixes that.

llvm-svn: 374201
2019-10-09 19:22:02 +00:00

17 lines
582 B
Plaintext

# UNSUPPORTED: system-windows, system-freebsd
# This tests that data formatters continue to work when replaying a reproducer.
# RUN: rm -rf %t.repro
# RUN: %clangxx %S/Inputs/foo.cpp -g -o %t.out
# RUN: %lldb -x -b -s %S/Inputs/DataFormatter.in --capture --capture-path %t.repro %t.out | FileCheck %s
# RUN: %lldb --replay %t.repro | FileCheck %s
# CHECK: stop reason = breakpoint 1.1
# CHECK: (Foo) foo = (m_i = 0, m_d = 0)
# CHECK: stop reason = step over
# CHECK: (Foo) foo = (m_i = 1, m_d = 2)
# CHECK: Process {{.*}} resuming
# CHECK: Process {{.*}} exited with status = 0