From 96f3a1b876e0dd24706b85fb872f12031a436e84 Mon Sep 17 00:00:00 2001 From: Petri Latvala Date: Tue, 22 Jan 2019 12:47:23 +0200 Subject: runner: Implement --dry-run Actually implement --dry-run to not execute tests. With dry-run active, attempting to execute will figure out the list of things to execute, serialize them along with settings, and stop. This will be useful for CI that wants to post-mortem on failed test rounds to generate a list of tests that should have been executed and produce json result files (full of 'notrun') for proper statistics. Signed-off-by: Petri Latvala Cc: Andi Shyti Cc: Martin Peres Cc: Arkadiusz Hiler Cc: Tomi Sarvela Reviewed-by: Martin Peres --- runner/executor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'runner/executor.h') diff --git a/runner/executor.h b/runner/executor.h index 12883f15..6c83e649 100644 --- a/runner/executor.h +++ b/runner/executor.h @@ -14,6 +14,7 @@ struct execute_state */ double time_left; double resuming; + bool dry; }; enum { -- cgit v1.2.3