test suite: fix bug introduced in f5f71ca838
parent
764d2e6ba5
commit
7dafeb2bc8
|
@ -15,15 +15,15 @@
|
||||||
% You should have received a copy of the GNU General Public License
|
% You should have received a copy of the GNU General Public License
|
||||||
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
if isoctave
|
|
||||||
load_octave_packages
|
|
||||||
end
|
|
||||||
|
|
||||||
top_test_dir = getenv('TOP_TEST_DIR');
|
top_test_dir = getenv('TOP_TEST_DIR');
|
||||||
addpath(top_test_dir);
|
addpath(top_test_dir);
|
||||||
addpath([top_test_dir filesep '..' filesep 'matlab']);
|
addpath([top_test_dir filesep '..' filesep 'matlab']);
|
||||||
dynare_config([], 0);
|
dynare_config([], 0);
|
||||||
|
|
||||||
|
if isoctave
|
||||||
|
load_octave_packages
|
||||||
|
end
|
||||||
|
|
||||||
% Test Dynare Version
|
% Test Dynare Version
|
||||||
if ~strcmp(dynare_version(), getenv('DYNARE_VERSION'))
|
if ~strcmp(dynare_version(), getenv('DYNARE_VERSION'))
|
||||||
error('Incorrect version of Dynare is being tested')
|
error('Incorrect version of Dynare is being tested')
|
||||||
|
|
Loading…
Reference in New Issue