From e56577e4506c7db72aef9e273cfa00592ca20829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 17 Oct 2026 15:51:31 +0200 Subject: Do not look for config file in parent dirs in test mode --- src/Run/Monad.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Run/Monad.hs') diff --git a/src/Run/Monad.hs b/src/Run/Monad.hs index d204f09..10d6ab1 100644 --- a/src/Run/Monad.hs +++ b/src/Run/Monad.hs @@ -64,10 +64,10 @@ data TestState = TestState } data TestOptions = TestOptions - { optDefaultTool :: ConfigTool + { optDefaultTool :: Maybe ConfigTool , optProcTools :: [ ( ProcName, ConfigTool ) ] , optTestDir :: FilePath - , optTimeout :: Scientific + , optTimeout :: Maybe Scientific , optTcpdump :: Maybe FilePath , optGDB :: Bool , optForce :: Bool @@ -80,10 +80,10 @@ data TestOptions = TestOptions defaultTestOptions :: TestOptions defaultTestOptions = TestOptions - { optDefaultTool = ToolPath "" + { optDefaultTool = Nothing , optProcTools = [] , optTestDir = ".test" - , optTimeout = 1 + , optTimeout = Nothing , optTcpdump = Nothing , optGDB = False , optForce = False -- cgit v1.2.3