From 8b1a01223f94024cb0c92cf17bfa0938e419f23b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Tue, 14 Jan 2020 14:58:38 +0100 Subject: [PATCH] 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 3ee9ada8d372552cb86407c0c536399980a625fd) --- tests/run_all_unitary_tests.m | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/run_all_unitary_tests.m b/tests/run_all_unitary_tests.m index 62238e728f..816c6ac92e 100644 --- a/tests/run_all_unitary_tests.m +++ b/tests/run_all_unitary_tests.m @@ -1,4 +1,4 @@ -% 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 = {}; @@ -72,4 +75,4 @@ fprintf(fid,':elapsed-time: %f\n',0.0); fclose(fid); if ~isoctave exit -end \ No newline at end of file +end -- GitLab