Files
clang-p2996/clang/test/Modules/dependency-dump-dependent-module.m
NAKAMURA Takumi 5e3d1414a4 Disable Modules/dependency-dump-dependent-module.m on win32 for now.
FIXME: This fails on win32 due to ERROR_FILENAME_EXCED_RANGE if the working directory is too deep.

We should make Win32/Path.inc capable of long pathnames with '\\?\'.

llvm-svn: 211363
2014-06-20 15:04:25 +00:00

23 lines
773 B
Matlab

// When a module depends on another, check that we dump the dependency header
// files for both.
// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/cache -module-dependency-dir %t/vfs -F %S/Inputs -I %S/Inputs -verify %s
// expected-no-diagnostics
// RUN: FileCheck %s -check-prefix=VFS < %t/vfs/vfs.yaml
// VFS: 'name': "AlsoDependsOnModule.h"
// VFS: 'name': "SubFramework.h"
// VFS: 'name': "Treasure.h"
// VFS: 'name': "Module.h"
// VFS: 'name': "Sub.h"
// VFS: 'name': "Sub2.h"
@import AlsoDependsOnModule;
// FIXME: This fails on win32 due to ERROR_FILENAME_EXCED_RANGE
// if the working directory is too deep.
// We should make Win32/Path.inc capable of long pathnames with '\\?\'.
// For now, this is suppressed on win32.
// REQUIRES: shell