[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 +
__run_test_suite__
- 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:
<http://savannah.gnu.org/bugs/?41215>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41215] Request for a "pkg test" feature,
Oliver Heimlich <=