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, 26 Dec 2019 07:52:35 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

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

Hmmm, a question is whether we want the .cc-tst files in the arch-independent
subdir (.m-files, share/octave/.../<package>/ or in the arch-dependent one
(.oct-files, lib/octave/.../<package>/).

In case of arch-independent:
* (patched) oruntest.m could run all package tests with just one command,
rather than calling it separately for each directory (arch-independent and
arch-dependent);
* output of tests for binary modules will be interspersed with tests for
.m-file functions;
* the arch-independent subdir is cluttered with .cc-tst files.

In case of arch-dependent:
* the .cc-tst files are kept together with the module they belong to;
* binary modules could be tested separately from .m-files, which might be
desirable for better overview.

I have no clear opinion.
ATM my patch in comment #6 is for keeping .cc-tst files in the arch-dependent
subdir. I did that because I felt it better to keep tests with the files they
belong to; but later on I figured it may be better to be able to test all
package functions with just one call to oruntests.m.
Changing this is a mere one-liner.


    _______________________________________________________

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]