From 6e1b193838a252d42bcce201fd19df284c727599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Laboissi=C3=A8re?= Date: Thu, 7 Dec 2023 03:05:19 -0300 Subject: d/check.m: Redefine clear function This is necessary because some test scripts test/*.m issue the clear command and this interferes with the way dh_octave-check works. Gbp-Dch: Full Closes: #1057588 --- debian/check.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/check.m b/debian/check.m index 632b0fe..63a586a 100644 --- a/debian/check.m +++ b/debian/check.m @@ -2,7 +2,11 @@ # only run tests that do not require network access for downloading files cd test +function clear(varargin) +endfunction + # No for-loop, as the test files call clean() + file = 'test_mex_accuracy.m'; disp(['Testing ', file]); source(file); -- cgit v1.2.3