From 5f892bc3cd212f362b0a8f29528b783b142da8e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 17 Oct 2026 11:10:40 +0200 Subject: Config option to find tool path using cabal Changelog: Added config file option to find test tool executable via cabal. --- src/TestMode.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/TestMode.hs') diff --git a/src/TestMode.hs b/src/TestMode.hs index 2ccf5a4..22481f4 100644 --- a/src/TestMode.hs +++ b/src/TestMode.hs @@ -84,7 +84,7 @@ runTestsC tests = do Just LoadedModules {..} <- gets tmsModules mbconfig <- asks tmiConfig let opts = defaultTestOptions - { optDefaultTool = fromMaybe "/bin/true" $ configTool =<< mbconfig + { optDefaultTool = fromMaybe (ToolPath "/bin/true") $ configTool =<< mbconfig , optTestDir = ".test" <> show num , optKeep = True , optKeepGoing = True -- cgit v1.2.3