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

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

[Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!t


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files
Date: Thu, 5 Nov 2020 14:14:12 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #45, bug #41298 (project octave):

> _I don't understand why we would need this hunk:_
I don't know either, but I'd say for the same reason that in

:
  if (isempty (__file))
    __file = file_in_loadpath ([__name ".m"], "all");
  endif
  if (isempty (__file))
    __file = file_in_loadpath ([__name ".cc"], "all");
  endif
:


 *.cc and *.m  files are treated that way.

So, out of curiosity I commented out that entire stanza in the verbatim block
above, and then "pkg test io" and  __run_test_suite__  still work fine (in
Octave-6.0.93 and 7.0.0). I'd say that whole stanza can go then.
Maybe it's a relict that was needed in earlier Octave versions?


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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