Skip to content

Commit be0a4a1

Browse files
committed
250719.221911.PDT revise locate_matcutest.m
1 parent f70de6f commit be0a4a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

matlab/tests/private/locate_matcutest.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function cmpaths = locate_matcutest(directory)
22
%This function finds where MatCUTEst (https://github.com/matcutest/matcutest) is installed, adds the
33
% paths needed for using MatCUTEst, and returns these paths in a cell array.
4-
% We search at most 3 levels below the given directory, whose default value is the home directory.
4+
% We search at most 10 levels below the given directory, whose default value is the home directory.
55
% N.B.: As of 20230512, MatCUTEst supports only Linux.
66

77
% We use the following path as the signature to identify MatCUTEst.
@@ -23,7 +23,7 @@
2323
if isempty(cmtools)
2424
% In the following line, the "*/" before signature_path cannot be removed.
2525
name_str = ['"*/', signature_path, '"'];
26-
[~, cmtools] = system(['find ', directory, ' -maxdepth 6 -wholename ', name_str, ' -type d -print -quit']);
26+
[~, cmtools] = system(['find ', directory, ' -maxdepth 13 -wholename ', name_str, ' -type d -print -quit']);
2727

2828
if isempty(cmtools)
2929
error('locate_matcutest:MatCUTEstNotFound', 'MatCUTEst is not found under %s.', directory);

0 commit comments

Comments
 (0)