[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #65406] pkg test statistics fails include test
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #65406] pkg test statistics fails include testing shadowed functions with core equivalents? |
Date: |
Sun, 3 Mar 2024 04:34:20 -0500 (EST) |
Follow-up Comment #1, bug #65406 (group octave):
See the comment on Discourse:
https://octave.discourse.group/t/mad-in-9-0-91/5340/8
> Afaict, `pkg test *pkg_name*` runs all tests in any of the .m or (generated)
.cc-tst files in the package. It doesn’t matter whether the respective
folder will be added to the Octave load path or not when the package is
loaded.
> The `shadow9` path is excluded from being added to the Octave load path with
some logic in the `PKG_ADD` script of the statistics package. So, `mad.m` (and
the other files in that folder) won’t be used. The tests in that file are
still run though.
>
> A potential solution could be to skip those tests on newer versions of
Octave with something like the following:
%!testif ; verLessThan ("Octave", "9")
> Or if the statistics package needs to be compatible with versions of Octave
that didn’t support the `%!testif` syntax yet, use a similar condition in
the body of the test.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?65406>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #65406] pkg test statistics fails include testing shadowed functions with core equivalents?, Nicholas Jankowski, 2024/03/02
- [Octave-bug-tracker] [bug #65406] pkg test statistics fails include testing shadowed functions with core equivalents?,
Markus Mützel <=
- [Octave-bug-tracker] [bug #65406] pkg test statistics fails include testing shadowed functions with core equivalents?, Nicholas Jankowski, 2024/03/03
- [Octave-bug-tracker] [bug #65406] pkg test statistics fails include testing shadowed functions with core equivalents?, Markus Mützel, 2024/03/03
- [Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path, Markus Mützel, 2024/03/05
- [Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path, Markus Mützel, 2024/03/05
- [Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path, Dmitri A. Sergatskov, 2024/03/05
- [Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path, Markus Mützel, 2024/03/07
- [Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path, Rik, 2024/03/07
- [Octave-bug-tracker] [bug #65406] functions in current directory don't take precedence over load path, Rik, 2024/03/19