From b11a4729d42aace6cd07ceaf671673f012bb5acc Mon Sep 17 00:00:00 2001 From: Srinivas Gorur-Shandilya Date: Mon, 15 Jun 2020 11:59:48 -0400 Subject: [PATCH] better parpool handling --- @xolotl/run_all_tests.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/@xolotl/run_all_tests.m b/@xolotl/run_all_tests.m index 2f8879b7..abe356b3 100644 --- a/@xolotl/run_all_tests.m +++ b/@xolotl/run_all_tests.m @@ -64,10 +64,12 @@ fprintf(['Running test: ' all_tests(i).name ' ']) try [~,script_name] = fileparts(all_tests(i).name); + evalin('base','clearvars') evalin('base',script_name); pause(1) close all clearvars -except all_tests i passed total + corelib.cprintf('green','TEST PASSED\n') passed = passed + 1; catch err