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
-; 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
- #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
-// 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
+FIXME: See if we can fix this in lit by using Unicode strings.
REQUIRES: shell
+
RUN: echo "ようこそ" | FileCheck %s
CHECK: {{^}}ようこそ{{$}}
// 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
-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
// -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
// 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
-REQUIRES: shell
-
RUN: rm -rf %t
RUN: mkdir %t
RUN: cd %t