From 7763349a9a878ca58de4fb559edcbf81040da07b Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 26 Mar 2015 08:11:43 +0000 Subject: igt/gem_concurrent_blit: Separate out the combinatorial explosion Apparently nobody else likes testing and debugging GEM coherency issues. However, this also means that QA is skipping these vital tests. Split out a set of canaries into igt/gem_concurrent_blit and keep the rest in igt/gem_concurrent_all. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89497 Signed-off-by: Chris Wilson --- lib/igt_core.c | 5 +++++ lib/igt_core.h | 1 + 2 files changed, 6 insertions(+) (limited to 'lib') diff --git a/lib/igt_core.c b/lib/igt_core.c index 61b3a338..7c68d4eb 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -248,6 +248,11 @@ static struct { } log_buffer; static pthread_mutex_t log_buffer_mutex = PTHREAD_MUTEX_INITIALIZER; +const char *igt_test_name(void) +{ + return command_str; +} + static void _igt_log_buffer_append(char *line) { pthread_mutex_lock(&log_buffer_mutex); diff --git a/lib/igt_core.h b/lib/igt_core.h index 07160009..33f89406 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -202,6 +202,7 @@ bool igt_only_list_subtests(void); static void igt_tokencat(__real_main, __LINE__)(void) \ +const char *igt_test_name(void); void igt_simple_init_parse_opts(int *argc, char **argv, const char *extra_short_opts, struct option *extra_long_opts, -- cgit v1.2.3