Skip to content
Snippets Groups Projects
Commit dd69e74c authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug in main unit test script.

parent 33bb37ee
Branches
Tags
No related merge requests found
......@@ -20,11 +20,13 @@ catch
install_unit_test_toolbox = true;
end
% Get path to the current script
unit_tests_root = strrep(which('runalltests'),'runalltests.m','');
% Initialize the dseries module
try
initialize_dseries_toolbox;
catch
unit_tests_root = strrep(which('runalltests'),'runalltests.m','');
addpath([unit_tests_root '../src']);
initialize_dseries_toolbox;
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment