Skip to content
Snippets Groups Projects
Commit 6b5460c7 authored by Manuel Klimek's avatar Manuel Klimek
Browse files

Move the input files for the unnecessary-module-map-parsing test to Inputs.

Needed to change rename.m to set the right include path so we don't
import a broken module due to recursive module checking.

llvm-svn: 197222
parent a4cc7dec
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,6 @@ ...@@ -3,6 +3,6 @@
int f() { return same_api; } int f() { return same_api; }
// RUN: rm -rf %t // RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -I %S/Inputs -fmodules-cache-path=%t %s -verify // RUN: %clang_cc1 -fmodules -I %S/Inputs/oldname -fmodules-cache-path=%t %s -verify
// expected-no-diagnostics // expected-no-diagnostics
// This checks that we are not parsing module maps if modules are not enabled. // This checks that we are not parsing module maps if modules are not enabled.
// RUN: not %clang_cc1 -fmodules -I %S/unnecessary-module-map-parsing -fsyntax-only %s 2>&1 | FileCheck %s // RUN: not %clang_cc1 -fmodules -I %S/Inputs/unnecessary-module-map-parsing -fsyntax-only %s 2>&1 | FileCheck %s
// RUN: %clang_cc1 -I %S/unnecessary-module-map-parsing -fsyntax-only %s // RUN: %clang_cc1 -I %S/Inputs/unnecessary-module-map-parsing -fsyntax-only %s
// CHECK: error: header 'unknown.h' not found // CHECK: error: header 'unknown.h' not found
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment