From a71511feb5a130ab5a0e9f62fdde0b5f9549dad6 Mon Sep 17 00:00:00 2001 From: "Joel E. Denny" Date: Thu, 10 Oct 2019 19:25:39 +0000 Subject: Revert r374388: "[lit] Make internal diff work in pipelines" This breaks a Windows bot. llvm-svn: 374429 --- llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt | 3 +++ llvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt | 15 --------------- 2 files changed, 3 insertions(+), 15 deletions(-) create mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt (limited to 'llvm/utils/lit/tests/Inputs') diff --git a/llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt b/llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt new file mode 100644 index 00000000000..81888cf8197 --- /dev/null +++ b/llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt @@ -0,0 +1,3 @@ +# Check error on a unsupported diff (cannot be part of a pipeline). +# +# RUN: diff diff-error-0.txt diff-error-0.txt | echo Output diff --git a/llvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt b/llvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt deleted file mode 100644 index ce0abca1661..00000000000 --- a/llvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt +++ /dev/null @@ -1,15 +0,0 @@ -# RUN: echo foo > %t.foo -# RUN: echo bar > %t.bar - -# Check output pipe. -# RUN: diff %t.foo %t.foo | FileCheck -allow-empty -check-prefix=EMPTY %s -# RUN: diff -u %t.foo %t.bar | FileCheck %s && false || true - -# Fail so lit will print output. -# RUN: false - -# CHECK: @@ -# CHECK-NEXT: -foo -# CHECK-NEXT: +bar - -# EMPTY-NOT: {{.}} -- cgit v1.2.3