From a9980f60ce083fa6d5fd03c12c58ca0b293e3d60 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Tue, 10 Sep 2019 00:50:32 +0000 Subject: Remove REQUIRES:shell from tests that pass for me on Windows I see in the history for some of these tests REQUIRES:shell was used as a way to disable tests on Windows because they are flaky there. I tried not to re-enable such tests, but it's possible that I missed some and this will re-enable flaky tests on Windows. If so, we should disable them with UNSUPPORTED:system-windows and add a comment that they are flaky there. So far as I can tell, the lit internal shell is capable of running all of these tests, and we shouldn't use REQUIRES:shell as a proxy for Windows. llvm-svn: 371478 --- clang/test/Frontend/dependency-gen-has-include.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'clang/test/Frontend/dependency-gen-has-include.c') diff --git a/clang/test/Frontend/dependency-gen-has-include.c b/clang/test/Frontend/dependency-gen-has-include.c index e8abb2c9c16..51de72a5a0f 100644 --- a/clang/test/Frontend/dependency-gen-has-include.c +++ b/clang/test/Frontend/dependency-gen-has-include.c @@ -1,5 +1,3 @@ -// REQUIRES: shell - // Basic test // RUN: rm -rf %t.dir // RUN: mkdir %t.dir @@ -19,16 +17,16 @@ // RUN: FileCheck -input-file=%t.dir/file.deps %s // CHECK: dependency-gen-has-include.o // CHECK: dependency-gen-has-include.c -// CHECK: a/header.h -// CHECK-NOT: missing/file.h -// CHECK: system/system-header.h -// CHECK: next-a/next-header.h -// CHECK: next-b/next-header.h +// CHECK: a{{[/\\]}}header.h +// CHECK-NOT: missing{{[/\\]}}file.h +// CHECK: system{{[/\\]}}system-header.h +// CHECK: next-a{{[/\\]}}next-header.h +// CHECK: next-b{{[/\\]}}next-header.h // Verify that we ignore system headers in user-only headers mode. // RUN: %clang -MMD -MF %t.dir/user-headers.deps %s -fsyntax-only -I %t.dir -isystem %t.dir/system -I %t.dir/next-a -I %t.dir/next-b // RUN: FileCheck -input-file=%t.dir/user-headers.deps --check-prefix CHECK-USER-HEADER %s -// CHECK-USER-HEADER-NOT: system/system-header.h +// CHECK-USER-HEADER-NOT: system{{[/\\]}}system-header.h #if __has_include("a/header.h") #endif -- cgit v1.2.3