]> granicus.if.org Git - llvm/commitdiff
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371473 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 55e804e8560a09f9567240a977863499da5f50a1..8e71e3b8420c47a257f90ad907611ce05458687f 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 4fbb822bc7c4fbac667aaf99a437a7f04873a610..8bf094b73ef96aaf874bf3644274cb5e92d73401 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 e80822296c83f5955493776cd7fcfe61dd18ab98..59edce1ca54527e33945a46b5d6ed13ffa05d1d9 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 ca92c991d175e40d80464d530ce8ea16ef214656..2f40001451688af5e5ea9ab75307b76e7af62193 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 51d0e62b56de0e34f8371d090a0362ef33da8a99..13cf9d4ed513b6c7086833fe0ebeb5175a760e84 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 e8018d58be627abf6b5ce3cd57efe1c7bc4058d7..5184a957190d67f14204a8103890e6a01a834325 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 6458d3ba7ea6f572e070fabddb6fc23c1ea34916..b8f4a3c511c1156f7f0325130967cf1be798fbae 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 173866c711e6497d0739e775a40fed15a1bcb45d..a65eedae92c393c52b7bf8e73c4e3b882bee421f 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
index 46f5063a9688a7e20b8b1ce1c4e07c6bdf9a80a8..54c3a5789a2d6aef1cc781ac5f0df418981a6f31 100644 (file)
@@ -1,5 +1,3 @@
-REQUIRES: shell
-
 RUN: rm -rf %t
 RUN: mkdir %t
 RUN: cd %t