summaryrefslogtreecommitdiff
path: root/test/script/output.et
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2026-05-23 21:45:02 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2026-05-24 17:47:37 +0200
commitbbf1fd0846fa51f74ef01399ab005d4d847becce (patch)
tree22d0afc8420ca28d0b13a82feb41e81753acf9e0 /test/script/output.et
parent858403fc3ea0888ea748cb23b04fcefe1d21c117 (diff)
Refactor test filtering to its own function and typeHEADmaster
Diffstat (limited to 'test/script/output.et')
-rw-r--r--test/script/output.et10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/script/output.et b/test/script/output.et
index d3f0eea..f210490 100644
--- a/test/script/output.et
+++ b/test/script/output.et
@@ -22,8 +22,9 @@ test FlushOutput:
expect /match p a/
expect /match-fail expect.*/
- expect /(run-.*)/ capture done
- guard (done == "run-failed")
+ expect /run-test-result Test (.*)/ capture result
+ guard (result == "failed")
+ expect /run-done/
test IgnoreOutput:
spawn as p
@@ -51,5 +52,6 @@ test IgnoreOutput:
expect /match p F/
expect /match-fail expect.*/
- expect /(run-.*)/ capture done
- guard (done == "run-failed")
+ expect /run-test-result Test (.*)/ capture result
+ guard (result == "failed")
+ expect /run-done/