]> granicus.if.org Git - clang/commitdiff
Add a test for wildcard expansion on Windows
authorHans Wennborg <hans@hanshq.net>
Wed, 16 Jul 2014 00:55:31 +0000 (00:55 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 16 Jul 2014 00:55:31 +0000 (00:55 +0000)
This depends on LLVM r213114

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

test/Driver/Inputs/wildcard1.c [new file with mode: 0644]
test/Driver/Inputs/wildcard2.c [new file with mode: 0644]
test/Driver/windows-wildcard-expansion.c [new file with mode: 0644]

diff --git a/test/Driver/Inputs/wildcard1.c b/test/Driver/Inputs/wildcard1.c
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/test/Driver/Inputs/wildcard2.c b/test/Driver/Inputs/wildcard2.c
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/test/Driver/windows-wildcard-expansion.c b/test/Driver/windows-wildcard-expansion.c
new file mode 100644 (file)
index 0000000..5824df0
--- /dev/null
@@ -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