summaryrefslogtreecommitdiff
path: root/test/runTests.hs
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-02-16 01:02:23 +0100
committerPéter Diviánszky <divipp@gmail.com>2016-02-16 01:02:23 +0100
commitaa927f04434e53f41e9fcb04f9c6680c9457fcc8 (patch)
treef7d7d8bfe30543338bc4aa265f111d34fd700cdf /test/runTests.hs
parent6befbf3058a87522dc59e3e55c65a6d7b448fd9e (diff)
eliminate FixLabel, performance is back at previous level
Diffstat (limited to 'test/runTests.hs')
-rw-r--r--test/runTests.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runTests.hs b/test/runTests.hs
index 8503cf8a..7be9cb4b 100644
--- a/test/runTests.hs
+++ b/test/runTests.hs
@@ -196,7 +196,7 @@ doTest Config{..} (i, fn) = do
196 Right (fname, Left e, i) -> Right ("typechecked module" , unlines $ e: listAllInfos i) 196 Right (fname, Left e, i) -> Right ("typechecked module" , unlines $ e: listAllInfos i)
197 Right (fname, Right (e, te), force -> i) 197 Right (fname, Right (e, te), force -> i)
198 | te == outputType -> Right ("compiled pipeline", prettyShowUnlines $ compilePipeline OpenGL33 (e, te)) 198 | te == outputType -> Right ("compiled pipeline", prettyShowUnlines $ compilePipeline OpenGL33 (e, te))
199 | e == trueExp -> Right ("reducted main", ppShow e) 199 | e == trueExp -> Right ("reducted main", ppShow $ unfixlabel e)
200 | te == boolType -> Left (tab "!Failed" $ "main should be True but it is \n" ++ ppShow e, Failed) 200 | te == boolType -> Left (tab "!Failed" $ "main should be True but it is \n" ++ ppShow e, Failed)
201 | otherwise -> Right ("reduced main " ++ ppShow te, ppShow e) 201 | otherwise -> Right ("reduced main " ++ ppShow te, ppShow e)
202 | otherwise = \case 202 | otherwise = \case