Index: /issm/trunk/test/NightlyRun/runme.m
===================================================================
--- /issm/trunk/test/NightlyRun/runme.m	(revision 5084)
+++ /issm/trunk/test/NightlyRun/runme.m	(revision 5085)
@@ -2,15 +2,16 @@
 %RUNME - test deck for ISSM nightly runs
 %
-%   In a test deck directory (tests/Vertification/test01_IceShelfIceFrontM2d for example)
-%   The following command will launch all the existing tests for test01
+%   In a test deck directory (tests/Vertification/NightlyRun for example)
+%   The following command will launch all the existing tests:
 %   >> runme
-%   To run the tests in serial only
-%   >> runme('parallel',0)
+%   To run the tests 101 and 102:
+%   >> runme('id',[101 102])
 %   etc...
 %
 %   Available options:
-%      'analysis_type' followed by the desired SolutionEnum
-%      'parallel'      0: serial only
-%                      1: parallel only
+%      'id'            followed by the list of ids requested
+%      'exclude'       ids to be excluded from the test
+%      'benchmark'     'nightly' (nightly run/ daily run)
+%                      ...
 %      'procedure'     'check' : run the test (default)
 %                      'update': update the archive
@@ -22,16 +23,6 @@
 %   Examples:
 %      runme;
-%      runme('analysis_type',DiagnosticSolutionEnum);
-%      runme('analysis_type',DiagnosticSolutionEnum,'parallel',0);
-%      runme('procedure','update','analysis_type',DiagnosticSolutionEnum,'parallel',1);
-
-% This file can be run to check that the current version of issm is giving 
-% coherent results.
-% is square. Just run this file in Matlab, with a properly setup ISSM code. 
-% The results of this test will indicate if there is a difference between current computations 
-% and archived results.
-
-% Errors  between archived results and the current version will get flagged if they are not within 
-% a certain tolerance.
+%      runme('exclude',101);
+%      md=runme('id',102,'procedure','model');
 
 %use ISSM_DIR generated by startup.m
@@ -91,4 +82,9 @@
 test_ids=getfieldvalue(options,'id',list_ids);
 test_ids=intersect(test_ids,list_ids);
+% }}}
+%GET exculde {{{1
+exclude_ids=getfieldvalue(options,'exclude',[]);
+pos=find(ismember(test_ids,exclude_ids));
+test_ids(pos)=[];
 % }}}
 %Process Ids according to benchmarks{{{1
