Commit dd69e74c authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Fixed bug in main unit test script.

parent 33bb37ee
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment