Closed apjanke closed 4 years ago
Ah. Looks like this is a problem with the netcdf
package, in that it defines its tests in a nonstandard way. It wrote its tests in a test_netcdf.m
function that contains a single test block:
%!test
%! fprintf ("\n");
%! test_netcdf ();
Which calls its own custom test runner code:
function test_netcdf()
import_netcdf
tests = {'test_netcdf_constant',...
[...]
'test_netcdf_ncwriteschema_group'...
};
[...]
for iindex=1:length(tests);
dots = repmat('.',1,maxlen - length(tests{iindex}));
fprintf('run %s%s ',tests{iindex},dots);
try
eval(tests{iindex});
disp(' OK ');
catch
disp(' FAIL ');
disp(lasterr)
end
end
So it's avoiding standard integration with Octave's normal test framework.
I'm going to call this an upstream problem or quirk of the netcdf
package, and not a problem with Testify: Testify is behaving as expected, because from the Octave test definition perspective, netcdf
contains a single test block.
Closing as upstream/works-as-designed.
Under Octave.app 4.4.1-u1: