diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-10-17 11:10:40 +0200 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-10-20 20:21:44 +0200 |
| commit | 5f892bc3cd212f362b0a8f29528b783b142da8e8 (patch) | |
| tree | a345cab6908eb72632684be751caf0ea1c793f1c /src/TestMode.hs | |
| parent | db6cd2706417d38b670438475c30a657ce2e5ed4 (diff) | |
Config option to find tool path using cabal
Changelog: Added config file option to find test tool executable via cabal.
Diffstat (limited to 'src/TestMode.hs')
| -rw-r--r-- | src/TestMode.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |