diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-06-17 17:33:36 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-06-17 17:33:36 +0000 |
| commit | 003bd8c36790f9f3f9bca8d037bf42c22ddfb50f (patch) | |
| tree | 5ce6ce08790075d81f1ac6ae7c32704758d3b5ee | |
| parent | f5e7d63add038d984fa1dca40efd5da4275c142b (diff) | |
| download | bcm5719-llvm-003bd8c36790f9f3f9bca8d037bf42c22ddfb50f.tar.gz bcm5719-llvm-003bd8c36790f9f3f9bca8d037bf42c22ddfb50f.zip | |
test: generalise the matching
Use a regex for the clang version as that will change all the time.
llvm-svn: 273018
| -rw-r--r-- | clang/test/Driver/windows-cross.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/windows-cross.c b/clang/test/Driver/windows-cross.c index 0b08762a4af..4ceac8c1561 100644 --- a/clang/test/Driver/windows-cross.c +++ b/clang/test/Driver/windows-cross.c @@ -69,7 +69,7 @@ // RUN: %clang -### -target armv7-windows-itanium -isystem-after "Windows Kits/10/Include/10.0.10586.0/ucrt" -isystem-after "Windows Kits/10/Include/10.0.10586.0/um" -isystem-after "Windows Kits/10/Include/10.0.10586.0/shared" -c %s -o /dev/null 2>&1 \ // RUN: | FileCheck %s --check-prefix CHECK-ISYSTEM-AFTER -// CHECK-ISYSTEM-AFTER: "-internal-isystem" "{{.*}}/clang/3.9.0/include" +// CHECK-ISYSTEM-AFTER: "-internal-isystem" "{{.*}}/clang/{{[\.0-9]+}}/include" // CHECK-ISYSTEM-AFTER: "-internal-isystem" "Windows Kits/10/Include/10.0.10586.0/ucrt" // CHECK-ISYSTEM-AFTER: "-internal-isystem" "Windows Kits/10/Include/10.0.10586.0/um" // CHECK-ISYSTEM-AFTER: "-internal-isystem" "Windows Kits/10/Include/10.0.10586.0/shared" |

