[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!t
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files |
Date: |
Wed, 22 Jan 2014 06:14:58 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?41298>
Summary: pkg install: automatically extract %!tests and
install both extracted and fixed test files
Project: GNU Octave
Submitted by: mtmiller
Submitted on: Wed 22 Jan 2014 01:14:57 AM EST
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
When Forge packages are built and installed using the pkg command, %!tests in
source files should be extracted and installed along with the rest of the
package. Currently, only the compiled .oct files are copied into the package
install location, so any %!tests that are in .c or .cc files are not available
at runtime. These tests should be extracted into tst files.
Secondly, any additional tests that are not necessarily associated with a
particular class or function could be maintained in .tst files. Taken
together, both extracted tst files and maintained fixed .tst scripts should be
installed into the package directory so they can be run any time, just like
tests in m-files.
This brings the handling of tests in Forge packages more in line with what
Octave now does with its own %!tests.
This feature request is based on Carlo's comments in bug #41215, which doesn't
strictly depend on this being fixed first, but will certainly benefit from
having more tests runnable after a package is installed.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41298>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files,
Mike Miller <=