


NIGHTLYRUNCIELO - run nightly test of Cielo on Ice This script goes to each directory of 'tests/Verification' and launch the nighlty tests for cielo if they exist.


0001 %NIGHTLYRUNCIELO - run nightly test of Cielo on Ice 0002 % 0003 % This script goes to each directory of 'tests/Verification' and 0004 % launch the nighlty tests for cielo if they exist. 0005 0006 %Go to Test directory 0007 eval(['cd ' ISSM_DIR '/tests/']); 0008 0009 %Run all verification tests 0010 cd Verification 0011 0012 %Get a list of the test decks 0013 [status,list]=system('ls -l | grep -v CVS | awk ''{printf("%s|",$9);}'' '); %only works on *nix systems. 0014 list=strsplit(list,'|'); 0015 %Go through list of decks, and run the deck runme.m files. 0016 for i=2:length(list)-1, 0017 cd([ list{i}]); 0018 if exist('runmecielo.m','file')==2, 0019 runmecielo; 0020 end 0021 cd .. 0022 end