Fixed run_osqp_tests script
import matlab.unittest.TestSuite;
import matlab.unittest.constraints.IsLessThan;
-
-suiteFolder = TestSuite.fromFolder('./unittests/');
+[osqp_path,~,~] = fileparts(which('osqp.m'));
+unittest_dir = fullfile(osqp_path, 'unittests');
+suiteFolder = TestSuite.fromFolder(unittest_dir);
% Run all suite
result = run(suiteFolder);
