[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62681] pkg test: Tests outside of the specifi

From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #62681] pkg test: Tests outside of the specified package are being run
Date: Sun, 17 Jul 2022 15:00:14 -0400 (EDT)

Follow-up Comment #16, bug #62681 (project octave):

Since patch cf5f46b2e052, I have a few issues on Windows. "pkg list" just
shows a package list with package names, without the path. Furthermore,
loading packages doesn't work anymore.

I tracked it down to cset cf5f46b2e052, where in private function
expand_rel_path.m, regexprep stumbles over the Windows backslash path
separators. That is, if I debug it, I get:

>> pkg list
## stepping into subfunctions until expand_rel_path L.37 ...
debug> loc
loc = C:\Programs\Octave\Octave-8.0.0_20220714D\mingw64
debug> pkg_list{i}.dir
ans = __OH__/share/octave/packages/optim-1.6.2
debug> regexprep (pkg_list{i}.dir, "^__OH__", loc)
ans =

That string
doesn't look right to me ...

(tested w. 7.1.91 from July 16 & a recent 8.0.0)


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]