octave-bug-tracker
[Top][All Lists]
Advanced

[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: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62681] pkg test: Tests outside of the specified package are being run
Date: Wed, 6 Jul 2022 13:05:00 -0400 (EDT)

Update of bug #62681 (project octave):

                  Status:               Need Info => Confirmed              

    _______________________________________________________

Follow-up Comment #12:

Thanks.

I think we are getting closer.
`canonicalize_file_name` is called on these paths in
`pkg/private/make_rel_paths.m`. If I understand Philip's comments in bug
#51632 correctly, we can't just drop that call.

`canonicalize_file_name` returns `[]` for non-existent files/folders.

Afaict, compiled .oct files would be installed at the `arch_prefix`. It
probably doesn't exist when that code is executed because the "symbolic"
package doesn't install any .oct files. (Is that true?)

Maybe, we should create these directories during `pkg install`
unconditionally, and not rely on the package to create them.

As a workaround, you could probably create the missing directory manually
before installing the package in your CI. Something like this might do that:

docker exec oc install -d /usr/lib/octave/packages


I'll look into how to fix that in Octave core.

I'll need to think about that. But it might be that we should still use the
change you proposed in comment #1 even if this underlying issue is fixed.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62681>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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