Mercurial > octave
changeset 28664:f4426602b5f8 stable
* pkg.m: Make sure to not pass empty strings to __run_test_suite__.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 01 Sep 2020 15:29:42 +0200 |
parents | bf941bb59f72 |
children | 77526af616d6 6b964cf58ed4 |
files | scripts/pkg/pkg.m |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/pkg/pkg.m Mon Aug 31 18:44:28 2020 +0200 +++ b/scripts/pkg/pkg.m Tue Sep 01 15:29:42 2020 +0200 @@ -740,6 +740,8 @@ printf ("Testing functions in package '%s':\n", files{i}); installed_pkgs_dirs = {installed_pkgs_lst{i}.dir, ... installed_pkgs_lst{i}.archprefix}; + installed_pkgs_dirs = + installed_pkgs_dirs (~cellfun (@isempty, installed_pkgs_dirs)); ## For local installs installed_pkgs_dirs contains the same subdirs installed_pkgs_dirs = unique (installed_pkgs_dirs); if (! isempty (installed_pkgs_dirs))