r213115 - Add a test for wildcard expansion on Windows
Hans Wennborg
hans at hanshq.net
Tue Jul 15 17:55:34 PDT 2014
Author: hans
Date: Tue Jul 15 19:55:31 2014
New Revision: 213115
URL: http://llvm.org/viewvc/llvm-project?rev=213115&view=rev
Log:
Add a test for wildcard expansion on Windows
This depends on LLVM r213114
Added:
cfe/trunk/test/Driver/Inputs/wildcard1.c
cfe/trunk/test/Driver/Inputs/wildcard2.c
cfe/trunk/test/Driver/windows-wildcard-expansion.c
Added: cfe/trunk/test/Driver/Inputs/wildcard1.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/Inputs/wildcard1.c?rev=213115&view=auto
==============================================================================
(empty)
Added: cfe/trunk/test/Driver/Inputs/wildcard2.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/Inputs/wildcard2.c?rev=213115&view=auto
==============================================================================
(empty)
Added: cfe/trunk/test/Driver/windows-wildcard-expansion.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/windows-wildcard-expansion.c?rev=213115&view=auto
==============================================================================
--- cfe/trunk/test/Driver/windows-wildcard-expansion.c (added)
+++ cfe/trunk/test/Driver/windows-wildcard-expansion.c Tue Jul 15 19:55:31 2014
@@ -0,0 +1,6 @@
+// Clang does wildcard expansion on Windows. On other OSs, it's done by the shell.
+// REQUIRES: system-windows
+
+// RUN: %clang -c -### %S/Inputs/wildcard*.c 2>&1 | FileCheck %s
+// CHECK: wildcard1.c
+// CHECK: wildcard2.c
More information about the cfe-commits
mailing list