From 8e266094f9bb31e444f90263119389d857d1001e Mon Sep 17 00:00:00 2001 From: Eddie Arrage Date: Fri, 9 Feb 2018 15:52:21 -0800 Subject: Add stop on failure logic and CLI option - Improve test execution control by adding stop on failure flag - Modify test check function to return value regardless of whether report or local file option is employed - Modify run test loop to check for failure after every test case if stop flag set Change-Id: I27a4f3aaaa8b8cb8c52eb3f092f52048980abb44 Signed-off-by: Eddie Arrage --- dovetail/conf/cmd_config.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dovetail/conf/cmd_config.yml') diff --git a/dovetail/conf/cmd_config.yml b/dovetail/conf/cmd_config.yml index 03455be1..2ae40df7 100644 --- a/dovetail/conf/cmd_config.yml +++ b/dovetail/conf/cmd_config.yml @@ -53,6 +53,12 @@ cli: - '-d' is_flag: 'True' help: 'Flag for showing debug log on screen.' + stop: + flags: + - '--stop' + - '-s' + is_flag: 'True' + help: 'Flag for stopping on test case failure.' report: flags: - '--report' -- cgit 1.2.3-korg