[commit: ghc] master: Comments in stranal test declarations (8c3133a)

git at git.haskell.org git at git.haskell.org
Fri Jan 18 12:31:44 UTC 2019


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8c3133a6e513c6f311df489deb3ae89938b27b08/ghc

>---------------------------------------------------------------

commit 8c3133a6e513c6f311df489deb3ae89938b27b08
Author: Ömer Sinan Ağacan <omeragacan at gmail.com>
Date:   Fri Jan 18 11:51:59 2019 +0300

    Comments in stranal test declarations


>---------------------------------------------------------------

8c3133a6e513c6f311df489deb3ae89938b27b08
 testsuite/tests/stranal/should_run/all.T | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/testsuite/tests/stranal/should_run/all.T b/testsuite/tests/stranal/should_run/all.T
index 51b1e41..4599c9e 100644
--- a/testsuite/tests/stranal/should_run/all.T
+++ b/testsuite/tests/stranal/should_run/all.T
@@ -1,7 +1,9 @@
-# Run this always
+# Run this always as we compile the test with -O0 and -O1 and check that the
+# output is correct and the same in both cases.
 test('T16197', normal, run_command, ['$MAKE -s --no-print-directory T16197'])
 
-# Run the rest only in optasm way, we're testing the strictness analyser here
+# Run the rest only in optasm way (which implies -O), we're testing the
+# strictness analyser here
 setTestOpts( only_ways(['optasm']) )
 
 test('strun001', normal, compile_and_run, [''])



More information about the ghc-commits mailing list