summaryrefslogtreecommitdiff
path: root/runner/job_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'runner/job_list.c')
-rw-r--r--runner/job_list.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/runner/job_list.c b/runner/job_list.c
index 97bbb0be..941e2ee0 100644
--- a/runner/job_list.c
+++ b/runner/job_list.c
@@ -133,6 +133,7 @@ static bool filtered_job_list(struct job_list *job_list,
{
FILE *f;
char buf[128];
+ bool ok;
if (job_list->entries != NULL) {
fprintf(stderr, "Caller didn't clear the job list, this shouldn't happen\n");
@@ -179,7 +180,11 @@ static bool filtered_job_list(struct job_list *job_list,
&settings->exclude_regexes);
}
- return job_list->size != 0;
+ ok = job_list->size != 0;
+ if (!ok)
+ fprintf(stderr, "Filter didn't match any job name\n");
+
+ return ok;
}
static bool job_list_from_test_list(struct job_list *job_list,