From 1544cf04c38ab3b613dba1e0737de49c33321655 Mon Sep 17 00:00:00 2001
From: Santiago Munin <santimunin@gmail.com>
Date: Thu, 4 May 2017 15:15:56 -0400
Subject: [PATCH] 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
---
 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 &quot;Hello&quot; <span class="nottickedoff">&quot;World&quot;</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 &quot;Hello&quot; <span class="nottickedoff">&quot;World&quot;</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 &quot;Hello&quot; <span class="nottickedoff">&quot;World&quot;</span>)</span></span>
 
 </pre>
-- 
GitLab