diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-05-27 20:40:06 +0200 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-05-31 13:48:13 +0200 |
| commit | a7c646b2d61b1e23eb44b608b843f2673acaa5bd (patch) | |
| tree | 8a5294947a1eb78b29ca03d48ba62fec07c2ecad /src/Main.hs | |
| parent | bbf1fd0846fa51f74ef01399ab005d4d847becce (diff) | |
Options to select and exclude tests in config file
Diffstat (limited to 'src/Main.hs')
| -rw-r--r-- | src/Main.hs | 3 |
1 files changed, 2 insertions, 1 deletions
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" |