From 2960d4766524f443e57f7e30b21380019c9f0661 Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Thu, 19 Jun 2014 20:18:00 +0000 Subject: [PATCH] test: Just check the VFS when testing module-dependency-dump Checking the filesystem seems to be a bit unreliable. Limit the tests to the VFS map for now. llvm-svn: 211310 --- clang/test/Modules/dependency-dump-dependent-module.m | 11 ----------- clang/test/Modules/dependency-dump.m | 10 ---------- 2 files changed, 21 deletions(-) diff --git a/clang/test/Modules/dependency-dump-dependent-module.m b/clang/test/Modules/dependency-dump-dependent-module.m index 5308f7efba30..2f75dd6be7f0 100644 --- a/clang/test/Modules/dependency-dump-dependent-module.m +++ b/clang/test/Modules/dependency-dump-dependent-module.m @@ -13,15 +13,4 @@ // VFS: 'name': "Sub.h" // VFS: 'name': "Sub2.h" -// TODO: We need shell to use find here. Is there a simpler way? -// REQUIRES: shell - -// RUN: find %t/vfs -type f | FileCheck %s -check-prefix=DUMP -// DUMP: AlsoDependsOnModule.framework/Headers/AlsoDependsOnModule.h -// DUMP: Module.framework/Frameworks/SubFramework.framework/Headers/SubFramework.h -// DUMP: Module.framework/Headers/Buried/Treasure.h -// DUMP: Module.framework/Headers/Module.h -// DUMP: Module.framework/Headers/Sub.h -// DUMP: Module.framework/Headers/Sub2.h - @import AlsoDependsOnModule; diff --git a/clang/test/Modules/dependency-dump.m b/clang/test/Modules/dependency-dump.m index 58d6c1572da2..630af4950c18 100644 --- a/clang/test/Modules/dependency-dump.m +++ b/clang/test/Modules/dependency-dump.m @@ -12,14 +12,4 @@ // VFS: 'name': "Sub.h" // VFS: 'name': "Sub2.h" -// TODO: We need shell to use find here. Is there a simpler way? -// REQUIRES: shell - -// RUN: find %t/vfs -type f | FileCheck %s -check-prefix=DUMP -// DUMP: Module.framework/Frameworks/SubFramework.framework/Headers/SubFramework.h -// DUMP: Module.framework/Headers/Buried/Treasure.h -// DUMP: Module.framework/Headers/Module.h -// DUMP: Module.framework/Headers/Sub.h -// DUMP: Module.framework/Headers/Sub2.h - @import Module;