From b73f5b7816fb84f4928cd5d320bf17ef2efb5d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Thu, 22 Aug 2019 14:21:41 +0200 Subject: [PATCH] Compatibility fix for Octave 5 The sleep() function has been removed in favor of pause(). --- tests/run_block_byte_tests_octave.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/run_block_byte_tests_octave.m b/tests/run_block_byte_tests_octave.m index 260941d85e..3af5772821 100644 --- a/tests/run_block_byte_tests_octave.m +++ b/tests/run_block_byte_tests_octave.m @@ -1,4 +1,4 @@ -## Copyright (C) 2009-2017 Dynare Team +## Copyright (C) 2009-2019 Dynare Team ## ## This file is part of Dynare. ## @@ -56,7 +56,7 @@ for blockFlag = 0:1 stack_solve_algos = 0:5; endif - sleep(1) # Workaround for strange race condition related to the _static.m file + pause(1) # Workaround for strange race condition related to the _static.m file for i = 1:length(solve_algos) num_block_tests = num_block_tests + 1; -- GitLab