From ed4222b7c187ee448b3ba5672ad25bb456e6601d Mon Sep 17 00:00:00 2001 From: ttt Date: Fri, 31 Aug 2018 12:27:40 +0530 Subject: calling all tests from tests.sce --- test3.sce | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'test3.sce') diff --git a/test3.sce b/test3.sce index 7d3dbac..2dbc6b5 100644 --- a/test3.sce +++ b/test3.sce @@ -1,11 +1,8 @@ -exec loader.sce -exec builder.sce - test_pass=[] res=[] - +test3=0 @@ -825,10 +822,8 @@ res=find(test_pass==0) + if(res~=[]) - disp("One or more tests failed") - exit(1) -else - disp("pass") - exit + disp("One or more tests failed in test2") + test3=1; end -- cgit