From a7c646b2d61b1e23eb44b608b843f2673acaa5bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Wed, 27 May 2026 20:40:06 +0200 Subject: Options to select and exclude tests in config file --- src/Main.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Main.hs') diff --git a/src/Main.hs b/src/Main.hs index b2e4171..7adf71d 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -196,7 +196,8 @@ main = do let tfSelect = if null otests then Nothing else Just otests tfExclude = optExclude opts - tests <- exitOnError $ filterTests TestFilter {..} lm + tfilter = maybe mempty testFilterFromConfig config <> TestFilter {..} + tests <- exitOnError $ filterTests tfilter lm tcpdump <- case optCmdlineTcpdump opts of TcpdumpAuto -> findExecutable "tcpdump" -- cgit v1.2.3