summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2017-07-11 11:54:59 -0400
committerBen Gamari <ben@smart-cactus.org>2017-07-11 13:41:54 -0400
commitb0c9f34aa3da914524ef37294bba78afefc3ada7 (patch)
tree8f83950f52f446aaac7af5888b605c987cc80eeb /testsuite
parent7c9e356de1114ab3e31f2d6d03e83672076dd533 (diff)
downloadhaskell-b0c9f34aa3da914524ef37294bba78afefc3ada7.tar.gz
Improve Wmissing-home-modules warning under Cabal
Reviewers: hvr, alanz, austin Reviewed By: alanz Subscribers: rwbarton, thomie GHC Trac Issues: #13899 Differential Revision: https://phabricator.haskell.org/D3686
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/warnings/should_compile/MissingMod.stderr2
-rw-r--r--testsuite/tests/warnings/should_compile/T13727/T13727a.stderr2
-rw-r--r--testsuite/tests/warnings/should_compile/T13727/T13727b.stderr2
-rw-r--r--testsuite/tests/warnings/should_compile/T13727/T13727f.stderr3
-rw-r--r--testsuite/tests/warnings/should_compile/T13727/T13727g.stderr3
-rw-r--r--testsuite/tests/warnings/should_compile/T13727/T13727h.stderr2
-rw-r--r--testsuite/tests/warnings/should_compile/T13727/T13727i.stderr2
-rw-r--r--testsuite/tests/warnings/should_compile/T13727/T13727j.stderr2
8 files changed, 10 insertions, 8 deletions
diff --git a/testsuite/tests/warnings/should_compile/MissingMod.stderr b/testsuite/tests/warnings/should_compile/MissingMod.stderr
index 0045092696..119e72cd28 100644
--- a/testsuite/tests/warnings/should_compile/MissingMod.stderr
+++ b/testsuite/tests/warnings/should_compile/MissingMod.stderr
@@ -1,5 +1,5 @@
<no location info>: warning: [-Wmissing-home-modules]
- Modules are not listed in command line: MissingMod1
+ Modules are not listed in command line but needed for compilation: MissingMod1
[1 of 2] Compiling MissingMod1 ( MissingMod1.hs, MissingMod1.o )
[2 of 2] Compiling MissingMod ( MissingMod.hs, MissingMod.o )
diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727a.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727a.stderr
index 64ad6d2895..c77fbc4300 100644
--- a/testsuite/tests/warnings/should_compile/T13727/T13727a.stderr
+++ b/testsuite/tests/warnings/should_compile/T13727/T13727a.stderr
@@ -1,6 +1,6 @@
<no location info>: warning: [-Wmissing-home-modules]
- Modules are not listed in command line: M1
+ Modules are not listed in command line but needed for compilation: M1
[1 of 2] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o )
[2 of 2] Compiling Main ( src-exe/Main.hs, src-exe/Main.o )
Linking src-exe/Main ...
diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727b.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727b.stderr
index 64ad6d2895..c77fbc4300 100644
--- a/testsuite/tests/warnings/should_compile/T13727/T13727b.stderr
+++ b/testsuite/tests/warnings/should_compile/T13727/T13727b.stderr
@@ -1,6 +1,6 @@
<no location info>: warning: [-Wmissing-home-modules]
- Modules are not listed in command line: M1
+ Modules are not listed in command line but needed for compilation: M1
[1 of 2] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o )
[2 of 2] Compiling Main ( src-exe/Main.hs, src-exe/Main.o )
Linking src-exe/Main ...
diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727f.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727f.stderr
index 35bfae84a7..20a42baeb9 100644
--- a/testsuite/tests/warnings/should_compile/T13727/T13727f.stderr
+++ b/testsuite/tests/warnings/should_compile/T13727/T13727f.stderr
@@ -1,6 +1,7 @@
<no location info>: warning: [-Wmissing-home-modules]
- Modules are not listed in command line: M1 Main
+ Modules are not listed in command line but needed for compilation: M1
+ Main
[1 of 3] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o )
[2 of 3] Compiling Main ( src-exe/Main.hs, src-exe/Main.o )
[3 of 3] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o )
diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727g.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727g.stderr
index 35bfae84a7..20a42baeb9 100644
--- a/testsuite/tests/warnings/should_compile/T13727/T13727g.stderr
+++ b/testsuite/tests/warnings/should_compile/T13727/T13727g.stderr
@@ -1,6 +1,7 @@
<no location info>: warning: [-Wmissing-home-modules]
- Modules are not listed in command line: M1 Main
+ Modules are not listed in command line but needed for compilation: M1
+ Main
[1 of 3] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o )
[2 of 3] Compiling Main ( src-exe/Main.hs, src-exe/Main.o )
[3 of 3] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o )
diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727h.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727h.stderr
index 1832b38432..a29f764a47 100644
--- a/testsuite/tests/warnings/should_compile/T13727/T13727h.stderr
+++ b/testsuite/tests/warnings/should_compile/T13727/T13727h.stderr
@@ -1,6 +1,6 @@
<no location info>: warning: [-Wmissing-home-modules]
- Modules are not listed in command line: M1
+ Modules are not listed in command line but needed for compilation: M1
[1 of 3] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o )
[2 of 3] Compiling Main ( src-exe/Main.hs, src-exe/Main.o )
[3 of 3] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o )
diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727i.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727i.stderr
index 1832b38432..a29f764a47 100644
--- a/testsuite/tests/warnings/should_compile/T13727/T13727i.stderr
+++ b/testsuite/tests/warnings/should_compile/T13727/T13727i.stderr
@@ -1,6 +1,6 @@
<no location info>: warning: [-Wmissing-home-modules]
- Modules are not listed in command line: M1
+ Modules are not listed in command line but needed for compilation: M1
[1 of 3] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o )
[2 of 3] Compiling Main ( src-exe/Main.hs, src-exe/Main.o )
[3 of 3] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o )
diff --git a/testsuite/tests/warnings/should_compile/T13727/T13727j.stderr b/testsuite/tests/warnings/should_compile/T13727/T13727j.stderr
index f6d3197f01..e85f778a56 100644
--- a/testsuite/tests/warnings/should_compile/T13727/T13727j.stderr
+++ b/testsuite/tests/warnings/should_compile/T13727/T13727j.stderr
@@ -1,6 +1,6 @@
<no location info>: warning: [-Wmissing-home-modules]
- Modules are not listed in command line: Main
+ Modules are not listed in command line but needed for compilation: Main
[1 of 3] Compiling M1 ( src-lib/M1.hs, src-lib/M1.o )
[2 of 3] Compiling Main ( src-exe/Main.hs, src-exe/Main.o )
[3 of 3] Compiling AltMain ( src-exe/AltMain.hs, src-exe/AltMain.o )