From aee96b0436b6ca0d9dbf548613fdd57ad7457fb3 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 4 Nov 2014 12:59:18 +0000 Subject: [PATCH] clang/test/Modules: Remove "REQUIRES:shell" since they work for me. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@221261 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Modules/Rmodule-build.m | 1 - test/Modules/Werror-Wsystem-headers.m | 1 - test/Modules/Werror.m | 1 - test/Modules/add-remove-private.m | 1 - test/Modules/explicit-build-flags.cpp | 2 -- test/Modules/load-after-failure.m | 1 - test/Modules/modules-with-same-name.m | 1 - test/Modules/no-stale-modtime.m | 1 - test/Modules/rebuild.m | 1 - test/Modules/require-modular-includes.m | 1 - test/Modules/system_version.m | 1 - test/Modules/validate-system-headers.m | 2 -- 12 files changed, 14 deletions(-) diff --git a/test/Modules/Rmodule-build.m b/test/Modules/Rmodule-build.m index ecd96cf647..e8f2935351 100644 --- a/test/Modules/Rmodule-build.m +++ b/test/Modules/Rmodule-build.m @@ -1,4 +1,3 @@ -// REQUIRES: shell // RUN: rm -rf %t // RUN: mkdir %t // RUN: echo '// A' > %t/A.h diff --git a/test/Modules/Werror-Wsystem-headers.m b/test/Modules/Werror-Wsystem-headers.m index 7b3424b807..4391aa0279 100644 --- a/test/Modules/Werror-Wsystem-headers.m +++ b/test/Modules/Werror-Wsystem-headers.m @@ -1,4 +1,3 @@ -// REQUIRES: shell // RUN: rm -rf %t // RUN: rm -rf %t-saved // RUN: mkdir %t-saved diff --git a/test/Modules/Werror.m b/test/Modules/Werror.m index 94a98a5a19..6444ea513b 100644 --- a/test/Modules/Werror.m +++ b/test/Modules/Werror.m @@ -1,4 +1,3 @@ -// REQUIRES: shell // RUN: rm -rf %t // RUN: rm -rf %t-saved // RUN: mkdir -p %t-saved diff --git a/test/Modules/add-remove-private.m b/test/Modules/add-remove-private.m index 7aa1b39fc2..49e81e1114 100644 --- a/test/Modules/add-remove-private.m +++ b/test/Modules/add-remove-private.m @@ -1,4 +1,3 @@ -// REQUIRES: shell // RUN: rm -rf %t // RUN: rm -rf %t.mcp // RUN: mkdir -p %t diff --git a/test/Modules/explicit-build-flags.cpp b/test/Modules/explicit-build-flags.cpp index c5c3df92ab..6ced215a06 100644 --- a/test/Modules/explicit-build-flags.cpp +++ b/test/Modules/explicit-build-flags.cpp @@ -1,5 +1,3 @@ -// REQUIRES: shell - // RUN: rm -rf %t // RUN: mkdir %t // RUN: echo 'module tmp { header "tmp.h" }' > %t/map diff --git a/test/Modules/load-after-failure.m b/test/Modules/load-after-failure.m index f471fd88d5..38d4a36532 100644 --- a/test/Modules/load-after-failure.m +++ b/test/Modules/load-after-failure.m @@ -1,4 +1,3 @@ -// REQUIRES: shell // RUN: rm -rf %t // RUN: mkdir -p %t diff --git a/test/Modules/modules-with-same-name.m b/test/Modules/modules-with-same-name.m index c90aa5d7d8..d362f756a6 100644 --- a/test/Modules/modules-with-same-name.m +++ b/test/Modules/modules-with-same-name.m @@ -1,4 +1,3 @@ -// REQUIRES: shell // RUN: rm -rf %t // A from path 1 diff --git a/test/Modules/no-stale-modtime.m b/test/Modules/no-stale-modtime.m index 1bff2b017a..53512126a1 100644 --- a/test/Modules/no-stale-modtime.m +++ b/test/Modules/no-stale-modtime.m @@ -1,7 +1,6 @@ // Ensure that when rebuilding a module we don't save its old modtime when // building modules that depend on it. -// REQUIRES: shell // RUN: rm -rf %t // RUN: mkdir -p %t // This could be replaced by diamond_*, except we want to modify the top header diff --git a/test/Modules/rebuild.m b/test/Modules/rebuild.m index c6e7920339..53a1fff90b 100644 --- a/test/Modules/rebuild.m +++ b/test/Modules/rebuild.m @@ -1,4 +1,3 @@ -// REQUIRES: shell // RUN: rm -rf %t // Build Module and set its timestamp diff --git a/test/Modules/require-modular-includes.m b/test/Modules/require-modular-includes.m index 835a352433..302e4cd191 100644 --- a/test/Modules/require-modular-includes.m +++ b/test/Modules/require-modular-includes.m @@ -1,5 +1,4 @@ // RUN: rm -rf %t -// REQUIRES: shell // Including a header from the imported module // RUN: echo '@import FromImportedModuleOK;' | \ diff --git a/test/Modules/system_version.m b/test/Modules/system_version.m index bc82bf8bc1..55174ef150 100644 --- a/test/Modules/system_version.m +++ b/test/Modules/system_version.m @@ -1,6 +1,5 @@ // Test checking that we're hashing a system version file in the // module hash. -// REQUIRES: shell // First, build a system root. // RUN: rm -rf %t diff --git a/test/Modules/validate-system-headers.m b/test/Modules/validate-system-headers.m index b5e7c6abc4..8cdc886322 100644 --- a/test/Modules/validate-system-headers.m +++ b/test/Modules/validate-system-headers.m @@ -38,6 +38,4 @@ // RUN: %clang_cc1 -isystem %t/Inputs/usr/include -fmodules -fmodules-validate-system-headers -fmodules-cache-path=%t/ModuleCache -fdisable-module-hash -x objective-c-header -fsyntax-only %s -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session // RUN: not diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved -// REQUIRES: shell - @import Foo; -- 2.40.0