[igt-dev] [PATCH CI] HAX: Default to multiple-mode

Petri Latvala
2019-02-21T10:24:21Z

---
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 e46568ac..e426a778 100644
--- a/runner/runner_tests.c
+++ b/runner/runner_tests.c
@@ -217,7 +217,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_eq(settings.overall_timeout, 0);
igt_assert(!settings.use_watchdog);
@@ -226,6 +226,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 e64244e6..122be111 100644
--- a/runner/settings.c
+++ b/runner/settings.c
@@ -232,6 +232,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.19.1