Changeset 12959 for issm/trunk-jpl/test/NightlyRun/runme.m
- Timestamp:
- 08/09/12 16:13:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/runme.m
r12631 r12959 72 72 % }}} 73 73 %GET ids {{{1 74 list=dir;%use dir, as it seems to act OS independent74 flist=dir;%use dir, as it seems to act OS independent 75 75 list_ids=[]; 76 for i=1:numel( list),77 if ( strncmp( list(i).name,'test',4) &... %File name must start with 'test'78 strncmp(fliplr( list(i).name),fliplr('.m'),2)&... %File name must end by '.m'79 ~strcmp( list(i).name,'test.m')) %File name must be different than 'test.m'80 list_ids(end+1)=eval( list(i).name(5:end-2)); %Keep test id only (skip 'test' and '.m')76 for i=1:numel(flist), 77 if ( strncmp(flist(i).name,'test',4) &... %File name must start with 'test' 78 strncmp(fliplr(flist(i).name),fliplr('.m'),2)&... %File name must end by '.m' 79 ~strcmp(flist(i).name,'test.m')) %File name must be different than 'test.m' 80 list_ids(end+1)=eval(flist(i).name(5:end-2)); %Keep test id only (skip 'test' and '.m') 81 81 end 82 82 end
Note:
See TracChangeset
for help on using the changeset viewer.