updatearchive

PURPOSE ^

UPDATEARCHIVE - update the tests archives in 'tests/Verification'

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

UPDATEARCHIVE - update the tests archives in 'tests/Verification'

   This script updates all the archive files of the Verification directory on Ice.
   All the archive files are saved in the appropriate directory but no one is commited.
   If you want to do so, just commit the updated files.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %UPDATEARCHIVE - update the tests archives in 'tests/Verification'
0002 %
0003 %   This script updates all the archive files of the Verification directory on Ice.
0004 %   All the archive files are saved in the appropriate directory but no one is commited.
0005 %   If you want to do so, just commit the updated files.
0006 
0007 %Go to Test directory
0008 eval(['cd ' ISSM_DIR '/Tests/']);
0009 
0010 %Run all verification tests
0011 cd Verification
0012 
0013 %Get a list of the test decks
0014 [status,list]=system('ls -l | grep -v CVS | awk ''{printf("%s|",$9);}'' '); %only works on *nix systems.
0015 list=strsplit(list,'|');
0016 %Go through list of decks, and run the deck runme.m files.
0017 for i=2:length(list)-1,
0018     eval(['cd ' list{i}]);
0019     updatearchive;
0020     cd ..
0021 end

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003