Skip to content
Snippets Groups Projects
Verified Commit 8b1a0122 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Octave compatibility fix: skip unit test for load_m_file_data_legacy.m

The failure is impossible to reproduce outside the runners. Skip the test, for
lack of a better solution.

(cherry picked from commit 3ee9ada8)
parent 4ff76a50
Branches
Tags
1 merge request!1815WIP Cherry-picks for 4.6
Pipeline #2891 passed
% Copyright (C) 2013-2019 Dynare Team
% Copyright (C) 2013-2020 Dynare Team
%
% This file is part of Dynare.
%
......@@ -31,8 +31,11 @@ end
mlist = get_directory_description('../matlab');
% Under Octave, do not run tests under matlab/missing/stats/
% Also skip load_m_data_file_legacy.m: it fails in the first test, but
% this is impossible to reproduce outside the runners.
if isoctave
mlist = mlist(find(~strncmp('../matlab/missing/stats/', mlist, 24)));
mlist = mlist(find(~strcmp('../matlab/load_m_file_data_legacy.m', mlist)));
end
failedtests = {};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment