Remove some unnecessary REQUIRES: shell lines
authorReid Kleckner <rnk@google.com>
Tue, 10 Sep 2019 00:06:52 +0000 (00:06 +0000)
committerReid Kleckner <rnk@google.com>
Tue, 10 Sep 2019 00:06:52 +0000 (00:06 +0000)
This means these tests will run on Windows. Replace one with
UNSUPPORTED: system-windows.

llvm-svn: 371473

llvm/test/Linker/datalayout.ll
llvm/test/MC/AsmParser/preserve-comments-crlf.s
llvm/test/MC/ELF/comp-dir.s
llvm/test/Other/lit-unicode.txt
llvm/test/tools/llvm-cov/copy_block_helper.m
llvm/test/tools/llvm-cov/cov-comdat.test
llvm/test/tools/llvm-cov/gcov47_compatibility.cpp
llvm/test/tools/llvm-cov/range_based_for.cpp
llvm/test/tools/llvm-dwp/X86/dwos_list_from_exec_simple.test

index 55e804e..8e71e3b 100644 (file)
@@ -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
index 4fbb822..8bf094b 100644 (file)
@@ -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\r
+       #RUN: diff -b %s %t\r
+       .text\r
+\r
+foo:   #Comment here\r
+       #comment here\r
+       nop\r
+       #if DIRECTIVE COMMENT\r
+       ## WHOLE LINE COMMENT\r
+       cmpl    $196, %eax      ## EOL COMMENT\r
+       #endif\r
+       .ident  "clang version 3.9.0"\r
+       .section        ".note.GNU-stack","",@progbits\r
index e808222..59edce1 100644 (file)
@@ -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
 
index ca92c99..2f40001 100644 (file)
@@ -1,3 +1,5 @@
+FIXME: See if we can fix this in lit by using Unicode strings.
 REQUIRES: shell
+
 RUN: echo "ようこそ" | FileCheck %s
 CHECK: {{^}}ようこそ{{$}}
index 51d0e62..13cf9d4 100644 (file)
@@ -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
index e8018d5..5184a95 100644 (file)
@@ -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
index 6458d3b..b8f4a3c 100644 (file)
@@ -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
index 173866c..a65eeda 100644 (file)
@@ -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