summaryrefslogtreecommitdiffstats
path: root/test/modularize
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2015-02-18 16:14:32 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2015-02-18 16:14:32 +0000
commit6ef1a5220861250ecbf109f0063f0d05cc2dd195 (patch)
tree522ac5059410741ce6d22bb4703abd22fc9a1d26 /test/modularize
parent6ac98d8d88639030175065758969f8224ff4b857 (diff)
Added support for extracting headers from module maps as a source for the header list.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@229692 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/modularize')
-rw-r--r--test/modularize/NoProblems.modularize1
-rw-r--r--test/modularize/ProblemsDuplicate.modularize1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/modularize/NoProblems.modularize b/test/modularize/NoProblems.modularize
index c162b633..48d34829 100644
--- a/test/modularize/NoProblems.modularize
+++ b/test/modularize/NoProblems.modularize
@@ -1,5 +1,6 @@
# RUN: modularize %s -x c++
# RUN: modularize -prefix=%p %s -x c++
+# RUN: modularize %S/Inputs/NoProblems.modulemap -x c++
Inputs/SomeTypes.h
Inputs/SomeDecls.h
diff --git a/test/modularize/ProblemsDuplicate.modularize b/test/modularize/ProblemsDuplicate.modularize
index 35ff6b21..301c9cc8 100644
--- a/test/modularize/ProblemsDuplicate.modularize
+++ b/test/modularize/ProblemsDuplicate.modularize
@@ -1,4 +1,5 @@
# RUN: not modularize %s -x c++ 2>&1 | FileCheck %s
+# RUN: not modularize %S/Inputs/ProblemsDuplicate.modulemap -x c++ 2>&1 | FileCheck %s
Inputs/DuplicateHeader1.h
Inputs/DuplicateHeader2.h