[Top][All Lists]

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

[Octave-bug-tracker] [bug #41215] Request for a "pkg test" feature

From: Oliver Heimlich
Subject: [Octave-bug-tracker] [bug #41215] Request for a "pkg test" feature
Date: Wed, 18 Feb 2015 21:26:48 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.4.0

Follow-up Comment #8, bug #41215 (project octave):

I propose the following solution:
- The extraction of tests from .cc files is the package maintainers
responsibility. The package's Makefile shall contain a build target for
.cc-tst files like the Makefiles in octave core. (this solves #41298)
- The “pkg install” shall copy any src/*-tst and src/*.tst files into the
package's target directory.
- The requested “pkg test” can be implemented via pkg load +
- Bonus target: The test.m script shall lookup <functionname>.cc-tst files,
for simple testing of a single installed OCT-file.

I can provide a patch, if you agree with the proposal.


Reply to this item at:


  Nachricht gesendet von/durch Savannah

reply via email to

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