summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/Linker/datalayout.ll7
-rw-r--r--llvm/test/MC/AsmParser/preserve-comments-crlf.s27
-rw-r--r--llvm/test/MC/ELF/comp-dir.s4
-rw-r--r--llvm/test/Other/lit-unicode.txt2
-rw-r--r--llvm/test/tools/llvm-cov/copy_block_helper.m4
-rw-r--r--llvm/test/tools/llvm-cov/cov-comdat.test2
-rw-r--r--llvm/test/tools/llvm-cov/gcov47_compatibility.cpp4
-rw-r--r--llvm/test/tools/llvm-cov/range_based_for.cpp4
-rw-r--r--llvm/test/tools/llvm-dwp/X86/dwos_list_from_exec_simple.test2
9 files changed, 28 insertions, 28 deletions
diff --git a/llvm/test/Linker/datalayout.ll b/llvm/test/Linker/datalayout.ll
index 55e804e8560..8e71e3b8420 100644
--- a/llvm/test/Linker/datalayout.ll
+++ b/llvm/test/Linker/datalayout.ll
@@ -1,6 +1,7 @@
-; REQUIRES: shell
-; RUN: llvm-link %s %S/Inputs/datalayout-a.ll -S -o - 2>%t.a.err
-; RUN: (echo foo ;cat %t.a.err) | FileCheck --check-prefix=WARN-A %s
+; Ensure t.a.err is non-empty.
+; RUN: echo foo > %t.a.err
+; RUN: llvm-link %s %S/Inputs/datalayout-a.ll -S -o - 2>>%t.a.err
+; RUN: FileCheck --check-prefix=WARN-A %s < %t.a.err
; RUN: llvm-link %s %S/Inputs/datalayout-b.ll -S -o - 2>%t.b.err
; RUN: cat %t.b.err | FileCheck --check-prefix=WARN-B %s
diff --git a/llvm/test/MC/AsmParser/preserve-comments-crlf.s b/llvm/test/MC/AsmParser/preserve-comments-crlf.s
index 4fbb822bc7c..8bf094b73ef 100644
--- a/llvm/test/MC/AsmParser/preserve-comments-crlf.s
+++ b/llvm/test/MC/AsmParser/preserve-comments-crlf.s
@@ -1,14 +1,13 @@
- #REQUIRES: shell
- #RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %s > %t
- #RUN: diff -b %s %t
- .text
-
-foo: #Comment here
- #comment here
- nop
- #if DIRECTIVE COMMENT
- ## WHOLE LINE COMMENT
- cmpl $196, %eax ## EOL COMMENT
- #endif
- .ident "clang version 3.9.0"
- .section ".note.GNU-stack","",@progbits
+ #RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %s > %t
+ #RUN: diff -b %s %t
+ .text
+
+foo: #Comment here
+ #comment here
+ nop
+ #if DIRECTIVE COMMENT
+ ## WHOLE LINE COMMENT
+ cmpl $196, %eax ## EOL COMMENT
+ #endif
+ .ident "clang version 3.9.0"
+ .section ".note.GNU-stack","",@progbits
diff --git a/llvm/test/MC/ELF/comp-dir.s b/llvm/test/MC/ELF/comp-dir.s
index e80822296c8..59edce1ca54 100644
--- a/llvm/test/MC/ELF/comp-dir.s
+++ b/llvm/test/MC/ELF/comp-dir.s
@@ -1,4 +1,6 @@
-// REQUIRES: shell
+// Don't try to make symlinks on Windows.
+// UNSUPPORTED: system-windows
+//
// RUN: llvm-mc -triple=x86_64-linux-unknown -g -fdebug-compilation-dir=/test/comp/dir %s -filetype=obj -o %t.o
// RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s
diff --git a/llvm/test/Other/lit-unicode.txt b/llvm/test/Other/lit-unicode.txt
index ca92c991d17..2f400014516 100644
--- a/llvm/test/Other/lit-unicode.txt
+++ b/llvm/test/Other/lit-unicode.txt
@@ -1,3 +1,5 @@
+FIXME: See if we can fix this in lit by using Unicode strings.
REQUIRES: shell
+
RUN: echo "ようこそ" | FileCheck %s
CHECK: {{^}}ようこそ{{$}}
diff --git a/llvm/test/tools/llvm-cov/copy_block_helper.m b/llvm/test/tools/llvm-cov/copy_block_helper.m
index 51d0e62b56d..13cf9d4ed51 100644
--- a/llvm/test/tools/llvm-cov/copy_block_helper.m
+++ b/llvm/test/tools/llvm-cov/copy_block_helper.m
@@ -1,8 +1,8 @@
// Make sure that compiler-added functions (whose line number is zero) don't
// crash llvm-cov.
-// We need shell for cd
-// REQUIRES: shell
+
+
// RUN: rm -rf %t
// RUN: mkdir %t
diff --git a/llvm/test/tools/llvm-cov/cov-comdat.test b/llvm/test/tools/llvm-cov/cov-comdat.test
index e8018d58be6..5184a957190 100644
--- a/llvm/test/tools/llvm-cov/cov-comdat.test
+++ b/llvm/test/tools/llvm-cov/cov-comdat.test
@@ -1,5 +1,3 @@
-REQUIRES: shell
-
# The binary contains two (merged) covmap sections which
# have duplicate CovMapRecords from comdat (template instantation).
# This test makes sure the reader reads it properly. It also
diff --git a/llvm/test/tools/llvm-cov/gcov47_compatibility.cpp b/llvm/test/tools/llvm-cov/gcov47_compatibility.cpp
index 6458d3ba7ea..b8f4a3c511c 100644
--- a/llvm/test/tools/llvm-cov/gcov47_compatibility.cpp
+++ b/llvm/test/tools/llvm-cov/gcov47_compatibility.cpp
@@ -5,8 +5,8 @@
// -coverage -Xclang -coverage-no-function-names-in-data
// -Xclang -coverage-cfg-checksum -Xclang -coverage-version='407*'
-// We need shell for cd
-// REQUIRES: shell
+
+
// RUN: rm -rf %t
// RUN: mkdir %t
diff --git a/llvm/test/tools/llvm-cov/range_based_for.cpp b/llvm/test/tools/llvm-cov/range_based_for.cpp
index 173866c711e..a65eedae92c 100644
--- a/llvm/test/tools/llvm-cov/range_based_for.cpp
+++ b/llvm/test/tools/llvm-cov/range_based_for.cpp
@@ -1,8 +1,8 @@
// Make sure that compiler-added local variables (whose line number is zero)
// don't crash llvm-cov.
-// We need shell for cd
-// REQUIRES: shell
+
+
// RUN: rm -rf %t
// RUN: mkdir %t
diff --git a/llvm/test/tools/llvm-dwp/X86/dwos_list_from_exec_simple.test b/llvm/test/tools/llvm-dwp/X86/dwos_list_from_exec_simple.test
index 46f5063a968..54c3a5789a2 100644
--- a/llvm/test/tools/llvm-dwp/X86/dwos_list_from_exec_simple.test
+++ b/llvm/test/tools/llvm-dwp/X86/dwos_list_from_exec_simple.test
@@ -1,5 +1,3 @@
-REQUIRES: shell
-
RUN: rm -rf %t
RUN: mkdir %t
RUN: cd %t
OpenPOWER on IntegriCloud