• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# UNSUPPORTED: system-freebsd
2
3# Test that we can capture twice to the same directory without breaking the
4# reproducer functionality.
5
6# RUN: rm -rf %t.repro
7# RUN: %clang_host %S/Inputs/simple.c -g -o %t.out
8# RUN: %lldb -x -b -s %S/Inputs/GDBRemoteCapture.in --capture --capture-path %t.repro %t.out | FileCheck %S/TestGDBRemoteRepro.test --check-prefix CHECK --check-prefix CAPTURE
9# RUN: %lldb -x -b -s %S/Inputs/GDBRemoteCapture.in --capture --capture-path %t.repro %t.out | FileCheck %S/TestGDBRemoteRepro.test --check-prefix CHECK --check-prefix CAPTURE
10# RUN: %lldb --replay %t.repro | FileCheck %S/TestGDBRemoteRepro.test --check-prefix CHECK --check-prefix REPLAY
11
12# Test that we can replay from a different location, i.e. that the reproducer
13# is relocatable.
14
15# RUN: rm -rf %t.repro_moved
16# RUN: mv %t.repro %t.repro_moved
17# RUN: %lldb --replay %t.repro_moved | FileCheck %S/TestGDBRemoteRepro.test --check-prefix CHECK --check-prefix REPLAY
18