|
186 | 186 |
|
187 | 187 | end |
188 | 188 |
|
189 | | -% Uninstall the solvers installed by the test |
190 | | -cd(fullfile(test_dir, 'prima')); |
191 | | -setup('uninstall'); |
192 | | -if strcmpi(options.competitor, 'archiva') || strcmpi(options.competitor, 'norma') |
193 | | - cd(fullfile(test_dir, options.competitor)); |
194 | | - setup('uninstall'); |
195 | | -end |
196 | | - |
197 | | -setpath(oldpath); % Restore the path to oldpath. |
198 | | -cd(olddir); % Go back to olddir. |
| 189 | +% Restore the path to oldpath. |
| 190 | +% N.B.: Do NOT try uninstalling the solvers, because we may call `verify` again with 'ncp', which |
| 191 | +% means not to compile the solvers and reuse the existing MEX files, which would fail if we |
| 192 | +% uninstall the solvers here. |
| 193 | +setpath(oldpath); |
| 194 | + |
| 195 | +% Go back to olddir. |
| 196 | +cd(olddir); |
199 | 197 | fprintf('\nCurrently in %s\n\n', pwd()); |
200 | 198 |
|
| 199 | +% `dev_arch` a subdirectory of fullfile(s_root_dir, 'archiva'). It contains the "archiva" version of |
| 200 | +% solvers used as a benchmark for the development of the current version of the solvers. |
| 201 | +% It may not be the latest archiva version. To make sure that it is the one desired, we print the |
| 202 | +% path of `dev_arch` here if the competitor is 'archiva' |
201 | 203 | if strcmpi(options.competitor, 'archiva') |
202 | | - % `dev_arch` a subdirectory of fullfile(s_root_dir, 'archiva'). It contains the "archiva" version of |
203 | | - % solvers used as a benchmark for the development of the current version of the solvers. |
204 | | - % It may not be the latest archiva version. To make sure that it is the one desired, we print the |
205 | | - % path of `dev_arch` here if the competitor is 'archiva' |
206 | 204 | archiva_dir_name = 'dev_arch'; |
207 | 205 | mfilepath = fileparts(mfilename('fullpath')); % Directory where this .m file resides. |
208 | 206 | root_dir = fileparts(fileparts(mfilepath)); % root directory of the project |
|
0 commit comments