From 59e1bb3373c434699fa170bbfe628f3774d4eb87 Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <gonnet@google.com> Date: Tue, 27 Jun 2017 22:52:17 +0200 Subject: [PATCH] fix test for skippable sort tasks. --- src/runner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runner.c b/src/runner.c index 0dd6d06684..5b09b89898 100644 --- a/src/runner.c +++ b/src/runner.c @@ -1790,7 +1790,7 @@ void *runner_main(void *data) { /* Special case for sorts */ if (!cell_is_active(ci, e) && t->type == task_type_sort && - t->flags == 0) + !(ci->do_sort || ci->do_sub_sort)) error( "Task (type='%s/%s') should have been skipped ti_current=%lld " "c->ti_end_min=%lld t->flags=%d", -- GitLab