diff options
Diffstat (limited to 'lit/Reproducer')
-rw-r--r-- | lit/Reproducer/Inputs/GDBRemoteCapture.in | 6 | ||||
-rw-r--r-- | lit/Reproducer/Inputs/GDBRemoteReplay.in | 5 | ||||
-rw-r--r-- | lit/Reproducer/Inputs/simple.c | 19 | ||||
-rw-r--r-- | lit/Reproducer/TestDriverOptions.test | 7 | ||||
-rw-r--r-- | lit/Reproducer/TestGDBRemoteRepro.test | 26 |
5 files changed, 0 insertions, 63 deletions
diff --git a/lit/Reproducer/Inputs/GDBRemoteCapture.in b/lit/Reproducer/Inputs/GDBRemoteCapture.in deleted file mode 100644 index 8df7ca42fee0..000000000000 --- a/lit/Reproducer/Inputs/GDBRemoteCapture.in +++ /dev/null @@ -1,6 +0,0 @@ -breakpoint set -f simple.c -l 13 -run -bt -cont -reproducer status -reproducer generate diff --git a/lit/Reproducer/Inputs/GDBRemoteReplay.in b/lit/Reproducer/Inputs/GDBRemoteReplay.in deleted file mode 100644 index 1364c7e72764..000000000000 --- a/lit/Reproducer/Inputs/GDBRemoteReplay.in +++ /dev/null @@ -1,5 +0,0 @@ -reproducer status -breakpoint set -f simple.c -l 13 -run -bt -cont diff --git a/lit/Reproducer/Inputs/simple.c b/lit/Reproducer/Inputs/simple.c deleted file mode 100644 index a4585b380ca6..000000000000 --- a/lit/Reproducer/Inputs/simple.c +++ /dev/null @@ -1,19 +0,0 @@ -//===-- main.c --------------------------------------------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#include <stdio.h> - -void foo() { - printf("testing\n"); -} - -int main (int argc, char const *argv[]) { - foo(); - return 0; -} diff --git a/lit/Reproducer/TestDriverOptions.test b/lit/Reproducer/TestDriverOptions.test deleted file mode 100644 index c0713295685d..000000000000 --- a/lit/Reproducer/TestDriverOptions.test +++ /dev/null @@ -1,7 +0,0 @@ -# Check that errors are propagated to the driver. - -# RUN: not %lldb --capture %t/bogus/bogus 2>&1 | FileCheck %s --check-prefix CAPTURE -# RUN: not %lldb --replay %t/bogus/bogus 2>&1 | FileCheck %s --check-prefix REPLAY - -# CAPTURE: unable to create reproducer directory -# REPLAY: unable to load reproducer index diff --git a/lit/Reproducer/TestGDBRemoteRepro.test b/lit/Reproducer/TestGDBRemoteRepro.test deleted file mode 100644 index 6a6bdd780a85..000000000000 --- a/lit/Reproducer/TestGDBRemoteRepro.test +++ /dev/null @@ -1,26 +0,0 @@ -# UNSUPPORTED: system-windows, system-freebsd - -# This tests the replaying of GDB remote packets. -# -# We issue the same commands and ensure the output is identical to the original -# process. To ensure we're not actually running the original binary we check -# that the string "testing" is not printed. - -# RUN: %clang %S/Inputs/simple.c -g -o %t.out -# RUN: %lldb -x -b -s %S/Inputs/GDBRemoteCapture.in --capture %T/reproducer -- %t.out | FileCheck %s --check-prefix CHECK --check-prefix CAPTURE -# RUN: %lldb -x -b -s %S/Inputs/GDBRemoteReplay.in --replay %T/reproducer -- %t.out | FileCheck %s --check-prefix CHECK --check-prefix REPLAY - -# CHECK: Breakpoint 1 -# CHECK: Process {{.*}} stopped -# CHECK: Process {{.*}} launched -# CHECK: thread {{.*}} stop reason = breakpoint -# CHECK: frame {{.*}} simple.c - -# CAPTURE: testing -# REPLAY-NOT: testing - -# CHECK: Process {{.*}} resuming -# CHECK: Process {{.*}} exited - -# CAPTURE: Reproducer is in capture mode. -# CAPTURE: Reproducer written |