Update HPC tests to include markup colors legend.
authorSantiago Munin <santimunin@gmail.com>
Thu, 4 May 2017 19:15:56 +0000 (15:15 -0400)
committerBen Gamari <ben@smart-cactus.org>
Thu, 4 May 2017 19:16:59 +0000 (15:16 -0400)
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

tests/fork/hpc_fork.stdout
tests/function/tough.stdout
tests/function2/tough2.stdout
tests/simple/hpc001.stdout
tests/simple/tixs/hpc_markup_001.stdout
tests/simple/tixs/hpc_markup_002.stdout

index 26cd7e9..52f1f1b 100644 (file)
@@ -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
index 21a31a0..0287052 100644 (file)
@@ -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.
index 66bb3f8..dcfcd8d 100644 (file)
@@ -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>
index 68190b1..03d524f 100644 (file)
@@ -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 &quot;Hello&quot; <span class="nottickedoff">&quot;World&quot;</span>)</span></span>
 
 </pre>
index 6f80922..d6e087a 100644 (file)
@@ -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 &quot;Hello&quot; <span class="nottickedoff">&quot;World&quot;</span>)</span></span>
 
 </pre>
index ad7e017..38a790c 100644 (file)
@@ -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 &quot;Hello&quot; <span class="nottickedoff">&quot;World&quot;</span>)</span></span>
 
 </pre>