Mercurial > hg > octave-lyh
changeset 12447:890e89c3dfeb
More explicit error message when source with tests for dynamically linked functions not found (#30341)
author | David Bateman <dbateman@free.fr> |
---|---|
date | Tue, 15 Feb 2011 01:28:11 +0100 |
parents | f899f451fe76 |
children | f2c080bbd8a5 |
files | scripts/ChangeLog scripts/testfun/test.m |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,5 +1,8 @@ 2011-02-14 David Bateman <dbateman@free.fr> + * testfun/test.m: More explicit error message when source of a + dynamically linked function is not found. + * plot/private/__scatter__.m: Correctly set the facevertexcdata and faces properties in the patch objects.
--- a/scripts/testfun/test.m +++ b/scripts/testfun/test.m @@ -173,7 +173,11 @@ __ret1 = ""; __ret2 = []; else - fprintf (__fid, "%s%s does not exist in path\n", __signal_empty, __name); + if (exist (__name) == 3) + fprintf (__fid, "%s%s source code with tests for dynamically linked function not found\n", __signal_empty, __name); + else + fprintf (__fid, "%s%s does not exist in path\n", __signal_empty, __name); + endif fflush (__fid); if (nargout > 0) __ret1 = __ret2 = 0;