test suite: fix bug introduced in f5f71ca838

time-shift
Houtan Bastani 2016-10-24 12:56:26 +02:00
parent 764d2e6ba5
commit 7dafeb2bc8
1 changed files with 4 additions and 4 deletions

View File

@ -15,15 +15,15 @@
% You should have received a copy of the GNU General Public License
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
if isoctave
load_octave_packages
end
top_test_dir = getenv('TOP_TEST_DIR');
addpath(top_test_dir);
addpath([top_test_dir filesep '..' filesep 'matlab']);
dynare_config([], 0);
if isoctave
load_octave_packages
end
% Test Dynare Version
if ~strcmp(dynare_version(), getenv('DYNARE_VERSION'))
error('Incorrect version of Dynare is being tested')