summaryrefslogtreecommitdiff
path: root/src/Run.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-01-14 19:11:16 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2026-01-14 19:49:14 +0100
commitea8109cef731b2c876b9effa759763bf59d878aa (patch)
tree5464409e2c045e2c14cb66443e745dc92f9015a3 /src/Run.hs
parent11894ca067981b44a1c17612b8d85144d71f30a3 (diff)
Mark ignored output lines
Changelog: Mark flushed or ignored output lines
Diffstat (limited to 'src/Run.hs')
-rw-r--r--src/Run.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Run.hs b/src/Run.hs
index 54df37b..7cea577 100644
--- a/src/Run.hs
+++ b/src/Run.hs
@@ -209,7 +209,8 @@ runStep = \case
expect stack line p expr timeout captures $ runStep . inner
Flush p regex -> do
- atomicallyTest $ flushProcessOutput p regex
+ mapM_ (outProc OutputIgnored p) =<<
+ atomicallyTest (flushProcessOutput p regex)
Guard stack expr -> do
testStepGuard stack expr