summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/Reproducer/TestSynchronous.test
blob: f32ce8c57224f6af7d29401bc2f722f921676763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# REQUIRES: python
# Ensure that replay happens in synchronous mode.

# RUN: rm -rf %t.repro
# RUN: %lldb -x -b --capture --capture-path %t.repro -o 'script lldb.debugger.SetAsync(True)' -o 'script lldb.debugger.GetAsync()' -o 'reproducer generate' | FileCheck %s --check-prefix CAPTURE
# RUN: %lldb --replay %t.repro | FileCheck %s --check-prefix REPLAY

# CAPTURE: script lldb.debugger.SetAsync(True)
# CAPTURE-NEXT: script lldb.debugger.GetAsync()
# CAPTURE-NEXT: True

# REPLAY: script lldb.debugger.SetAsync(True)
# REPLAY-NEXT: script lldb.debugger.GetAsync()
# REPLAY-NEXT: False
OpenPOWER on IntegriCloud