...
 
Commits (2)
......@@ -16,7 +16,6 @@ testsuite_old_matlab:
MATLAB: /usr/local/MATLAB/R2009b/bin/matlab
script:
- make check-matlab
allow_failure: true
testsuite_octave:
stage: test
......@@ -24,4 +23,3 @@ testsuite_octave:
OPENBLAS_NUM_THREADS: 1
script:
- make check-octave
allow_failure: true
......@@ -55,7 +55,8 @@ return
%@test:1
% Create a data m-file
fid = fopen('data_m_file.m','w');
datafile = [tempname '.m'];
fid = fopen(datafile,'w');
fprintf(fid,'FREQ__ = 4;');
fprintf(fid,'INIT__ = ''1938Q4'';');
fprintf(fid,'NAMES__ = {''azert'';''yuiop''};');
......@@ -71,9 +72,8 @@ return
% Try to read the data m-file
try
datafile = 'data_m_file.m';
[freq, init, data, varlist, tex, ops, tags] = load_m_file_data(datafile);
delete('data_m_file.m');
delete(datafile);
t(1) = 1;
catch exception
t(1) = 0;
......