diff --git a/tests/run_block_byte_tests_matlab.m b/tests/run_block_byte_tests_matlab.m index 015f4608f..772e4e8a9 100644 --- a/tests/run_block_byte_tests_matlab.m +++ b/tests/run_block_byte_tests_matlab.m @@ -1,4 +1,4 @@ -% Copyright (C) 2011-2017 Dynare Team +% Copyright (C) 2011-2020 Dynare Team % % This file is part of Dynare. % @@ -131,7 +131,7 @@ for blockFlag = 0:1 end ecput = toc; delete('wsMat.mat') -cd(getenv('TOP_TEST_DIR')); +cd(top_test_dir); fid = fopen('run_block_byte_tests_matlab.m.trs', 'w+'); if size(failedBlock,2) > 0 fprintf(fid,':test-result: FAIL\n'); diff --git a/tests/run_block_byte_tests_octave.m b/tests/run_block_byte_tests_octave.m index 3af577282..69f9b06a1 100644 --- a/tests/run_block_byte_tests_octave.m +++ b/tests/run_block_byte_tests_octave.m @@ -1,4 +1,4 @@ -## Copyright (C) 2009-2019 Dynare Team +## Copyright (C) 2009-2020 Dynare Team ## ## This file is part of Dynare. ## @@ -131,7 +131,7 @@ for blockFlag = 0:1 endfor ecput = toc; delete('wsOct'); -cd(getenv('TOP_TEST_DIR')); +cd(top_test_dir); fid = fopen('run_block_byte_tests_octave.o.trs', 'w+'); if size(failedBlock,2) > 0 fprintf(fid,':test-result: FAIL\n');