task/testdata/precondition/testdata
Graham Dennis 94f82cbc5a
fix: make task failure errors include stack of running tasks (#2286)
Previously if a task was run as a dependency of another task,
the error message simply reported something like:

    exit status 1

It is desirable instead to name the root task and all child tasks in the tree
to the failing task.

After this PR, the error message will read:

    task: Failed to run task "root": task: Failed to run task "failing-task": exit status 1
2025-11-11 16:40:40 -03:00
..
TestPrecondition-a_precondition_has_been_met.golden
TestPrecondition-a_precondition_was_not_met-err-run.golden fix: make task failure errors include stack of running tasks (#2286) 2025-11-11 16:40:40 -03:00
TestPrecondition-a_precondition_was_not_met.golden
TestPrecondition-precondition_in_cmd_fails_the_task-err-run.golden fix: make task failure errors include stack of running tasks (#2286) 2025-11-11 16:40:40 -03:00
TestPrecondition-precondition_in_cmd_fails_the_task.golden
TestPrecondition-precondition_in_dependency_fails_the_task-err-run.golden fix: make task failure errors include stack of running tasks (#2286) 2025-11-11 16:40:40 -03:00
TestPrecondition-precondition_in_dependency_fails_the_task.golden