Changeset 5315


Ignore:
Timestamp:
08/17/10 13:29:25 (15 years ago)
Author:
Mathieu Morlighem
Message:

Do not use test.m files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/test/NightlyRun/runme.m ΒΆ

    r5272 r5315  
    7575list_ids=[];
    7676for i=1:numel(list),
    77         if ( strncmpi(list(i).name,'test',4) &...                         %File name must start with 'test'
    78                         strncmpi(fliplr(list(i).name),fliplr('.m'),2)&...           %File name must end by '.m'
    79                         ~strncmpi(fliplr(list(i).name),fliplr('_nightly.m'),10)),   %File name end should be different that '_nightly.m'
    80                 list_ids(end+1)=eval(list(i).name(5:end-2));                   %Keep test id only (skip 'test' and '.m')
     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')
    8181        end
    8282end
Note: See TracChangeset for help on using the changeset viewer.