Message ID | 20171024105306.22334-1-lukasz.fiedorowicz@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/lib/igt_core.c b/lib/igt_core.c index 538a447..743e82b 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -965,10 +965,11 @@ bool __igt_run_subtest(const char *subtest_name) } if (run_single_subtest) { - if (uwildmat(subtest_name, run_single_subtest) == 0) + if (uwildmat(subtest_name, run_single_subtest) + || strcasecmp(subtest_name, run_single_subtest) == 0) + run_single_subtest_found = true; + else return false; - else - run_single_subtest_found = true; } if (skip_subtests_henceforth) {
Lists in intel-ci directory are kept in all lower case but the subtest names are mix of lower and upper case. Piglit is able to handle this but not every CI is using piglit. Changing condition to ignore subtest names case. Signed-off-by: Lukasz Fiedorowicz <lukasz.fiedorowicz@intel.com> --- lib/igt_core.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)