[igt-dev] [CI 1/2] HAX: Default to multiple-mode

Petri Latvala petri.latvala at intel.com
Tue Oct 2 07:29:13 UTC 2018


---
 runner/runner_tests.c | 4 +++-
 runner/settings.c     | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/runner/runner_tests.c b/runner/runner_tests.c
index b03f2acf..8b566771 100644
--- a/runner/runner_tests.c
+++ b/runner/runner_tests.c
@@ -215,7 +215,7 @@ igt_main
 		igt_assert(!settings.sync);
 		igt_assert_eq(settings.log_level, LOG_LEVEL_NORMAL);
 		igt_assert(!settings.overwrite);
-		igt_assert(!settings.multiple_mode);
+		igt_assert(settings.multiple_mode);
 		igt_assert_eq(settings.inactivity_timeout, 0);
 		igt_assert(!settings.use_watchdog);
 		igt_assert(strstr(settings.test_root, "test-root-dir") != NULL);
@@ -223,6 +223,8 @@ igt_main
 		igt_assert(!settings.piglit_style_dmesg);
 	}
 
+	return;
+
 	igt_subtest_group {
 		char *cwd;
 		char *path;
diff --git a/runner/settings.c b/runner/settings.c
index 70fff3c0..ffbf1046 100644
--- a/runner/settings.c
+++ b/runner/settings.c
@@ -163,6 +163,7 @@ static bool readable_file(char *filename)
 void init_settings(struct settings *settings)
 {
 	memset(settings, 0, sizeof(*settings));
+	settings->multiple_mode = true;
 }
 
 void free_settings(struct settings *settings)
-- 
2.18.0



More information about the igt-dev mailing list