summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2025-07-01 22:46:07 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2025-07-02 18:28:52 +0200
commit518998bebf22b6bb92dd246026fce62ad57a0b0b (patch)
treeb18554b1d4f8799c05dd3d524759439685b9fc9e /test
parentac70a5f9aebcfd51901740681463d1ac4fa90e33 (diff)
Automatically run dependencies
Changelog: Automatically run dependencies of jobs specified on command line
Diffstat (limited to 'test')
-rw-r--r--test/script/run.et14
1 files changed, 12 insertions, 2 deletions
diff --git a/test/script/run.et b/test/script/run.et
index 5531707..5d34552 100644
--- a/test/script/run.et
+++ b/test/script/run.et
@@ -271,14 +271,24 @@ test RunExplicitDependentJob:
expect /([0-9a-f]+)/ from git_init capture t4
local:
- spawn on n as p args [ "./main", "run", "$c1.first", "$t2.first", "$t3.second", "$c1.fifth", "$c1.fourth", "$c1.third", "$c1.second" ]
+ spawn on n as p args [ "./main", "run", "$c1.first", "$t2.first", "$t3.fourth", "$c1.fifth", "$c1.fourth", "$c1.third", "$c1.second", "$t4.fifth" ]
expect_success from p of "$t1.first"
expect_success from p of "$t1.second"
expect_success from p of "$t1.third"
expect_success from p of "$t1.fourth"
expect_success from p of "$t1.fifth"
+
expect_success from p of "$t2.first"
- expect from p /job-finish $t3.second error/
+
+ expect_success from p of "$t3.first"
+ expect_success from p of "$t3.second"
+ expect_success from p of "$t3.fourth"
+
+ expect_success from p of "$t4.first"
+ expect_success from p of "$t4.second"
+ expect_success from p of "$t4.third"
+ expect_success from p of "$t4.fourth"
+ expect_success from p of "$t4.fifth"
flush from p matching /note .*/
expect /(.*)/ from p capture done