Skip to content

Commit

Permalink
better parpool handling
Browse files Browse the repository at this point in the history
  • Loading branch information
sg-s committed Jun 15, 2020
1 parent 382d37d commit b11a472
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions @xolotl/run_all_tests.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b11a472

Please sign in to comment.