]> granicus.if.org Git - clang/commitdiff
Enable passing clang tests on Windows/MSYS.
authorYaron Keren <yaron.keren@gmail.com>
Sun, 26 Jul 2015 04:36:39 +0000 (04:36 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Sun, 26 Jul 2015 04:36:39 +0000 (04:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243236 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/cl-response-file.c
test/Driver/crash-report-header.h
test/Driver/crash-report-modules.m
test/Driver/crash-report.c
test/Driver/darwin-debug-flags.c
test/Driver/env.c
test/Driver/no-canonical-prefixes.c
test/Driver/rewrite-map-in-diagnostics.c

index c57f34b315771abbfbd482b57a1375e96ba878b8..9b387b0276de94d6ae7859e0e3b4f3c76904ec84 100644 (file)
@@ -1,6 +1,3 @@
-// Don't attempt slash switches on msys bash.
-// REQUIRES: shell-preserves-root
-
 // Test that we use the Windows tokenizer for clang-cl response files. The
 // trailing backslash before the space should be interpreted as a literal
 // backslash. PR23709
index e0193cbe45e999e314e0e4f56275acf1d6339f96..3580b60029be54d5ed4043b4319780394ec8f5c9 100644 (file)
@@ -5,9 +5,6 @@
 // RUN: cat %t/crash-report-header-*.sh | FileCheck --check-prefix=CHECKSH "%s"
 // REQUIRES: crash-recovery
 
-// because of the glob (*.h, *.sh)
-// REQUIRES: shell
-
 #pragma clang __debug parser_crash
 // CHECK: Preprocessed source(s) and associated run script(s) are located at:
 // CHECK-NEXT: note: diagnostic msg: {{.*}}.h
index 0e1d81a1f34093aab4933260e757995e3f9537ec..9dd3b74e69daa7af12e9f958144e7c8ca3c3f5a9 100644 (file)
@@ -9,11 +9,7 @@
 // RUN: FileCheck --check-prefix=CHECKSH %s -input-file %t/crash-report-*.sh
 // REQUIRES: crash-recovery
 
-// because of the glob (*.m, *.sh)
-// REQUIRES: shell
-
-// FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
-// XFAIL: mingw32
+// XFAIL: windows,win32
 
 @import simple;
 const int x = MODULE_MACRO;
index 38813e3bb8afe252fa2d3414d17ddd12eb0d64eb..2e45d8ce1c14cd37ca82b27bdd2503cab21424c7 100644 (file)
@@ -11,9 +11,6 @@
 // RUN: cat %t/crash-report-*.sh | FileCheck --check-prefix=CHECKSH %s
 // REQUIRES: crash-recovery
 
-// because of the glob (*.c, *.sh)
-// REQUIRES: shell
-
 #pragma clang __debug parser_crash
 // CHECK: Preprocessed source(s) and associated run script(s) are located at:
 // CHECK-NEXT: note: diagnostic msg: {{.*}}crash-report-{{.*}}.c
index 5080a59e943d3e950043d31e334446b685fbedb2..6ba374523096d677c419003ce4f1334ecd9d0439 100644 (file)
@@ -16,6 +16,3 @@ int x;
 // S: "-dwarf-debug-flags"
 
 // P: "-dwarf-debug-producer"
-
-// This depends on shell quoting.
-// REQUIRES: shell
index f243fa641c763ffea55a0cd8f910eeffece65fb1..0371bc91c4a30ac0122f99981ee83f42af57b2b2 100644 (file)
@@ -1,6 +1,6 @@
 // These tests try to ensure that the driver operates reasonably when run with
 // a strange environment. Unfortunately, it requires a normal shell and the
-// 'env' command.
+// 'env' command that understands arguments, unlike the LIT built-in env.
 //
 // REQUIRES: shell
 // The PATH variable is heavily used when trying to find a linker.
index 1aef9f40a9a76836d2b05558a304c692095d0b93..b617cd4e361e8ae7fd9db3e62ea3a1b732794555 100644 (file)
@@ -1,3 +1,4 @@
+// Due to ln -sf:
 // REQUIRES: shell
 // RUN: mkdir -p %t
 // RUN: cd %t
index 4aea0ec031456bdb8de3f32898dd9a77c864e119..7c5811539ef140a382cf05aa3c353cd3cb9221b1 100644 (file)
@@ -9,6 +9,3 @@
 // CHECK: note: diagnostic msg: {{.*}}rewrite.map
 
 // REQUIRES: crash-recovery
-
-// FIXME: This doesn't fail on "env clang". Investigating.
-// REQUIRES: shell