From 2e4e26b79508a6f0aedf360e72df1846a2e1ed17 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Sat, 29 Apr 2017 01:29:44 +0000 Subject: [PATCH] Fix "REQUIRES: system-darwin" failing tests after r301725. Also remove the apparently-unneeded REQUIRES (the tests also pass on at least Linux, and don't appear to have anything Darwin-specific in them). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@301731 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Modules/crash-vfs-relative-incdir.m | 4 ++-- test/Modules/crash-vfs-run-reproducer.m | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Modules/crash-vfs-relative-incdir.m b/test/Modules/crash-vfs-relative-incdir.m index 63cd9827c0..13213b3980 100644 --- a/test/Modules/crash-vfs-relative-incdir.m +++ b/test/Modules/crash-vfs-relative-incdir.m @@ -1,4 +1,4 @@ -// REQUIRES: crash-recovery, shell, system-darwin +// REQUIRES: crash-recovery, shell // RUN: rm -rf %t // RUN: mkdir -p %t/m @@ -21,7 +21,7 @@ // CHECK-NEXT: note: diagnostic msg: {{.*}}.m // CHECK-NEXT: note: diagnostic msg: {{.*}}.cache -// CHECKSRC: @import cstd.stdio; +// CHECKSRC: #pragma clang module import cstd.stdio // CHECKSH: # Crash reproducer // CHECKSH-NEXT: # Driver args: "-fsyntax-only" diff --git a/test/Modules/crash-vfs-run-reproducer.m b/test/Modules/crash-vfs-run-reproducer.m index 72771a2f94..4bc007a780 100644 --- a/test/Modules/crash-vfs-run-reproducer.m +++ b/test/Modules/crash-vfs-run-reproducer.m @@ -1,4 +1,4 @@ -// REQUIRES: crash-recovery, shell, system-darwin +// REQUIRES: crash-recovery, shell // RUN: rm -rf %t // RUN: mkdir -p %t/i %t/m %t @@ -21,7 +21,7 @@ // CHECK-NEXT: note: diagnostic msg: {{.*}}.m // CHECK-NEXT: note: diagnostic msg: {{.*}}.cache -// CHECKSRC: @import cstd.stdio; +// CHECKSRC: #pragma clang module import cstd.stdio // CHECKSH: # Crash reproducer // CHECKSH-NEXT: # Driver args: "-fsyntax-only" -- 2.40.0