summaryrefslogtreecommitdiff
path: root/testsuite/tests/haddock/should_compile_flag_nohaddock/all.T
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2016-02-19 17:37:29 +0100
committerThomas Miedema <thomasmiedema@gmail.com>2016-02-19 19:55:38 +0100
commitc6007fe696e05dd98268a3a814c1c1290573913c (patch)
tree912103cd0b0305855c4aebadd2f77873e02afc93 /testsuite/tests/haddock/should_compile_flag_nohaddock/all.T
parentd738e66450ec09f69211330df05e381bfe996c13 (diff)
downloadhaskell-c6007fe696e05dd98268a3a814c1c1290573913c.tar.gz
Pass -haddock to tests in should_compile_*flag*_nohaddock
should_compile_flag_nohaddock and should_compile_noflag_nohaddock contain the exact same tests. By passing `-haddock` to the tests in should_compile_**flag**_nohaddock, at least they're now testing different things. Add documentation.
Diffstat (limited to 'testsuite/tests/haddock/should_compile_flag_nohaddock/all.T')
-rw-r--r--testsuite/tests/haddock/should_compile_flag_nohaddock/all.T17
1 files changed, 13 insertions, 4 deletions
diff --git a/testsuite/tests/haddock/should_compile_flag_nohaddock/all.T b/testsuite/tests/haddock/should_compile_flag_nohaddock/all.T
index 500a7e6bd1..b4c48573e6 100644
--- a/testsuite/tests/haddock/should_compile_flag_nohaddock/all.T
+++ b/testsuite/tests/haddock/should_compile_flag_nohaddock/all.T
@@ -1,4 +1,13 @@
-test('haddockB001', normal, compile, [''])
-test('haddockB002', normal, compile, [''])
-test('haddockB003', normal, compile, [''])
-test('haddockB004', normal, compile, [''])
+# should_compile_flag_nohaddock
+#
+# * flag: we *do* pass the -haddock flag
+#
+# * nohaddock: but tests do *not* contain haddock annotations
+#
+# When adding a new test here, think about adding it to the
+# should_compile_noflag_nohaddock directory as well.
+
+test('haddockB001', normal, compile, ['-haddock'])
+test('haddockB002', normal, compile, ['-haddock'])
+test('haddockB003', normal, compile, ['-haddock'])
+test('haddockB004', normal, compile, ['-haddock'])