summaryrefslogtreecommitdiff
path: root/runner/executor.c
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2018-11-16 16:32:52 +0200
committerPetri Latvala <petri.latvala@intel.com>2018-11-20 13:15:12 +0200
commit68264891ceee34195839d82d4d87cbae08ef2431 (patch)
treefa5e3f98ba970da89e895796fb97ecaf25ab7230 /runner/executor.c
parentc27aaca295d3ca2a38521e571c012449371e4bb5 (diff)
runner: Exit with a nonzero status if aborting
Signed-off-by: Petri Latvala <petri.latvala@intel.com> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'runner/executor.c')
-rw-r--r--runner/executor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/runner/executor.c b/runner/executor.c
index 089e6312..2038c3fd 100644
--- a/runner/executor.c
+++ b/runner/executor.c
@@ -1240,6 +1240,8 @@ bool execute(struct execute_state *state,
free(reason);
free(nexttest);
+ status = false;
+
goto end;
}
}
@@ -1280,6 +1282,7 @@ bool execute(struct execute_state *state,
free(prev);
free(next);
free(reason);
+ status = false;
break;
}