From ebf2d10a95fff590542808ec14c7bce74ad11b37 Mon Sep 17 00:00:00 2001 From: Petri Latvala Date: Tue, 19 Feb 2019 12:18:10 +0200 Subject: runner: Exit with 0 on dry-run v2: Adjust tests accordingly Signed-off-by: Petri Latvala Cc: Arkadiusz Hiler Cc: Tomi Sarvela Reviewed-by: Arkadiusz Hiler --- runner/executor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runner/executor.c') diff --git a/runner/executor.c b/runner/executor.c index 3f1eb010..d535c276 100644 --- a/runner/executor.c +++ b/runner/executor.c @@ -1208,7 +1208,7 @@ bool execute(struct execute_state *state, if (state->dry) { printf("Dry run, not executing. Invoke igt_resume if you want to execute.\n"); - return false; + return true; } if ((resdirfd = open(settings->results_path, O_DIRECTORY | O_RDONLY)) < 0) { -- cgit v1.2.3