[commit: packages/hpc] master: Update HPC tests to include markup colors legend. (1544cf0)
git at git.haskell.org
git at git.haskell.org
Thu May 4 22:22:18 UTC 2017
Repository : ssh://git@git.haskell.org/hpc
On branch : master
Link : http://git.haskell.org/packages/hpc.git/commitdiff/1544cf04c38ab3b613dba1e0737de49c33321655
>---------------------------------------------------------------
commit 1544cf04c38ab3b613dba1e0737de49c33321655
Author: Santiago Munin <santimunin at gmail.com>
Date: Thu May 4 15:15:56 2017 -0400
Update HPC tests to include markup colors legend.
Summary: This should be reviewed together with https://phabricator.haskell.org/D3465
Reviewers: bgamari
GHC Trac Issues: #11799
Differential Revision: https://phabricator.haskell.org/D3479
>---------------------------------------------------------------
1544cf04c38ab3b613dba1e0737de49c33321655
tests/fork/hpc_fork.stdout | 3 +++
tests/function/tough.stdout | 3 +++
tests/function2/tough2.stdout | 3 +++
tests/simple/hpc001.stdout | 3 +++
tests/simple/tixs/hpc_markup_001.stdout | 3 +++
tests/simple/tixs/hpc_markup_002.stdout | 3 +++
6 files changed, 18 insertions(+)
diff --git a/tests/fork/hpc_fork.stdout b/tests/fork/hpc_fork.stdout
index 26cd7e9..52f1f1b 100644
--- a/tests/fork/hpc_fork.stdout
+++ b/tests/fork/hpc_fork.stdout
@@ -39,6 +39,9 @@ span.spaces { background: white }
</head>
<body>
<pre>
+<span class="decl"><span class="nottickedoff">never executed</span> <span class="tickonlytrue">always true</span> <span class="tickonlyfalse">always false</span></span>
+</pre>
+<pre>
<span class="lineno"> 1 </span>module Main where
<span class="lineno"> 2 </span>
<span class="lineno"> 3 </span>import System.Posix.Process
diff --git a/tests/function/tough.stdout b/tests/function/tough.stdout
index 21a31a0..0287052 100644
--- a/tests/function/tough.stdout
+++ b/tests/function/tough.stdout
@@ -49,6 +49,9 @@ span.spaces { background: white }
</head>
<body>
<pre>
+<span class="decl"><span class="nottickedoff">never executed</span> <span class="tickonlytrue">always true</span> <span class="tickonlyfalse">always false</span></span>
+</pre>
+<pre>
<span class="lineno"> 1 </span>import Control.Exception as E
<span class="lineno"> 2 </span>
<span class="lineno"> 3 </span>-- This test shows what hpc can really do.
diff --git a/tests/function2/tough2.stdout b/tests/function2/tough2.stdout
index 66bb3f8..dcfcd8d 100644
--- a/tests/function2/tough2.stdout
+++ b/tests/function2/tough2.stdout
@@ -49,6 +49,9 @@ span.spaces { background: white }
</head>
<body>
<pre>
+<span class="decl"><span class="nottickedoff">never executed</span> <span class="tickonlytrue">always true</span> <span class="tickonlyfalse">always false</span></span>
+</pre>
+<pre>
<span class="lineno"> 1 </span>\begin{code}
<span class="lineno"> 2 </span>import Control.Exception as E
<span class="lineno"> 3 </span>
diff --git a/tests/simple/hpc001.stdout b/tests/simple/hpc001.stdout
index 68190b1..03d524f 100644
--- a/tests/simple/hpc001.stdout
+++ b/tests/simple/hpc001.stdout
@@ -39,6 +39,9 @@ span.spaces { background: white }
</head>
<body>
<pre>
+<span class="decl"><span class="nottickedoff">never executed</span> <span class="tickonlytrue">always true</span> <span class="tickonlyfalse">always false</span></span>
+</pre>
+<pre>
<span class="lineno"> 1 </span><span class="decl"><span class="istickedoff">main = print (const "Hello" <span class="nottickedoff">"World"</span>)</span></span>
</pre>
diff --git a/tests/simple/tixs/hpc_markup_001.stdout b/tests/simple/tixs/hpc_markup_001.stdout
index 6f80922..d6e087a 100644
--- a/tests/simple/tixs/hpc_markup_001.stdout
+++ b/tests/simple/tixs/hpc_markup_001.stdout
@@ -14,6 +14,9 @@ span.spaces { background: white }
</head>
<body>
<pre>
+<span class="decl"><span class="nottickedoff">never executed</span> <span class="tickonlytrue">always true</span> <span class="tickonlyfalse">always false</span></span>
+</pre>
+<pre>
<span class="lineno"> 1 </span><span class="decl"><span class="istickedoff">main = print (const "Hello" <span class="nottickedoff">"World"</span>)</span></span>
</pre>
diff --git a/tests/simple/tixs/hpc_markup_002.stdout b/tests/simple/tixs/hpc_markup_002.stdout
index ad7e017..38a790c 100644
--- a/tests/simple/tixs/hpc_markup_002.stdout
+++ b/tests/simple/tixs/hpc_markup_002.stdout
@@ -14,6 +14,9 @@ span.spaces { background: white }
</head>
<body>
<pre>
+<span class="decl"><span class="nottickedoff">never executed</span> <span class="tickonlytrue">always true</span> <span class="tickonlyfalse">always false</span></span>
+</pre>
+<pre>
<span class="lineno"> 1 </span><span class="funcount">-- entered once</span><span class="decl"><span class="istickedoff">main = print (const "Hello" <span class="nottickedoff">"World"</span>)</span></span>
</pre>
More information about the ghc-commits
mailing list