r243236 - Enable passing clang tests on Windows/MSYS.
Yaron Keren
yaron.keren at gmail.com
Sat Jul 25 21:36:39 PDT 2015
Author: yrnkrn
Date: Sat Jul 25 23:36:39 2015
New Revision: 243236
URL: http://llvm.org/viewvc/llvm-project?rev=243236&view=rev
Log:
Enable passing clang tests on Windows/MSYS.
Modified:
cfe/trunk/test/Driver/cl-response-file.c
cfe/trunk/test/Driver/crash-report-header.h
cfe/trunk/test/Driver/crash-report-modules.m
cfe/trunk/test/Driver/crash-report.c
cfe/trunk/test/Driver/darwin-debug-flags.c
cfe/trunk/test/Driver/env.c
cfe/trunk/test/Driver/no-canonical-prefixes.c
cfe/trunk/test/Driver/rewrite-map-in-diagnostics.c
Modified: cfe/trunk/test/Driver/cl-response-file.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-response-file.c?rev=243236&r1=243235&r2=243236&view=diff
==============================================================================
--- cfe/trunk/test/Driver/cl-response-file.c (original)
+++ cfe/trunk/test/Driver/cl-response-file.c Sat Jul 25 23:36:39 2015
@@ -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
Modified: cfe/trunk/test/Driver/crash-report-header.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/crash-report-header.h?rev=243236&r1=243235&r2=243236&view=diff
==============================================================================
--- cfe/trunk/test/Driver/crash-report-header.h (original)
+++ cfe/trunk/test/Driver/crash-report-header.h Sat Jul 25 23:36:39 2015
@@ -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
Modified: cfe/trunk/test/Driver/crash-report-modules.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/crash-report-modules.m?rev=243236&r1=243235&r2=243236&view=diff
==============================================================================
--- cfe/trunk/test/Driver/crash-report-modules.m (original)
+++ cfe/trunk/test/Driver/crash-report-modules.m Sat Jul 25 23:36:39 2015
@@ -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;
Modified: cfe/trunk/test/Driver/crash-report.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/crash-report.c?rev=243236&r1=243235&r2=243236&view=diff
==============================================================================
--- cfe/trunk/test/Driver/crash-report.c (original)
+++ cfe/trunk/test/Driver/crash-report.c Sat Jul 25 23:36:39 2015
@@ -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
Modified: cfe/trunk/test/Driver/darwin-debug-flags.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/darwin-debug-flags.c?rev=243236&r1=243235&r2=243236&view=diff
==============================================================================
--- cfe/trunk/test/Driver/darwin-debug-flags.c (original)
+++ cfe/trunk/test/Driver/darwin-debug-flags.c Sat Jul 25 23:36:39 2015
@@ -16,6 +16,3 @@ int x;
// S: "-dwarf-debug-flags"
// P: "-dwarf-debug-producer"
-
-// This depends on shell quoting.
-// REQUIRES: shell
Modified: cfe/trunk/test/Driver/env.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/env.c?rev=243236&r1=243235&r2=243236&view=diff
==============================================================================
--- cfe/trunk/test/Driver/env.c (original)
+++ cfe/trunk/test/Driver/env.c Sat Jul 25 23:36:39 2015
@@ -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.
Modified: cfe/trunk/test/Driver/no-canonical-prefixes.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/no-canonical-prefixes.c?rev=243236&r1=243235&r2=243236&view=diff
==============================================================================
--- cfe/trunk/test/Driver/no-canonical-prefixes.c (original)
+++ cfe/trunk/test/Driver/no-canonical-prefixes.c Sat Jul 25 23:36:39 2015
@@ -1,3 +1,4 @@
+// Due to ln -sf:
// REQUIRES: shell
// RUN: mkdir -p %t
// RUN: cd %t
Modified: cfe/trunk/test/Driver/rewrite-map-in-diagnostics.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/rewrite-map-in-diagnostics.c?rev=243236&r1=243235&r2=243236&view=diff
==============================================================================
--- cfe/trunk/test/Driver/rewrite-map-in-diagnostics.c (original)
+++ cfe/trunk/test/Driver/rewrite-map-in-diagnostics.c Sat Jul 25 23:36:39 2015
@@ -9,6 +9,3 @@
// CHECK: note: diagnostic msg: {{.*}}rewrite.map
// REQUIRES: crash-recovery
-
-// FIXME: This doesn't fail on "env clang". Investigating.
-// REQUIRES: shell
More information about the cfe-commits
mailing list