summaryrefslogtreecommitdiff
path: root/runner/job_list.h
diff options
context:
space:
mode:
authorOleg Vasilev <oleg.vasilev@intel.com>2019-06-18 12:07:25 +0300
committerPetri Latvala <petri.latvala@intel.com>2019-06-19 11:57:24 +0300
commit29697c5d217fcde43d5119d0a02e92ae11b8db7d (patch)
tree142a2cee2c81ebc227422e80af9064e81d195939 /runner/job_list.h
parent26a69c93d712a0f1f6dce663b48e09d1c9815b6c (diff)
runner: add --list-all and --blacklist
Currently, runner already collects all subtest names into job_list. --list-all allows to output it to stdout. --blacklist option takes a filename as an argument and adds all regexes from that file to the exclusion list. v2: - Update exclude/include regex matches for tests without subtests to be matched with pigtit-like name (Petri) - Replace relative paths with those formatted with testdatadir (Petri) - Minor codestyle changes v3: - Print test names in lowercase (Petri) v4: - Replaced custom str_to_lower with generate_piglit_name (Petri) - Minor codestyle changes Cc: Petri Latvala <petri.latvala@intel.com> Signed-off-by: Oleg Vasilev <oleg.vasilev@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'runner/job_list.h')
-rw-r--r--runner/job_list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runner/job_list.h b/runner/job_list.h
index f8bbbddc..39c9b863 100644
--- a/runner/job_list.h
+++ b/runner/job_list.h
@@ -36,5 +36,6 @@ bool create_job_list(struct job_list *job_list, struct settings *settings);
bool serialize_job_list(struct job_list *job_list, struct settings *settings);
bool read_job_list(struct job_list *job_list, int dirfd);
+void list_all_tests(struct job_list *lst);
#endif