tasty-discover

This commit is contained in:
2026-08-20 17:21:42 -06:00
parent fc8cf263aa
commit 25ba8c03b8
11 changed files with 50 additions and 62 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
module Gyehoek.Test.Golden (root) where
module Gyehoek.Test.Golden where
import Test.Tasty (TestTree, testGroup)
import Test.Tasty.Silver
@@ -31,8 +31,8 @@ brokenStackifyTests =
-- , "callcc-nested1" -- requires closure-conversion
-- ]
root :: IO TestTree
root = do
test_root :: IO TestTree
test_root = do
all_cases <- listDirectory "golden"
let tests = all_cases
& fmap ("golden"</>)
@@ -43,6 +43,7 @@ root = do
]
maybeBroken name broken = applyWhen (name `elem` broken) expectFail
wasmTests :: List FilePath -> IO TestTree
wasmTests files = do
cmd <- getEnvDefault "GYEHOEK_RUNTIME"