[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: |
Fri, 6 Nov 2020 09:30:33 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #48, bug #41298 (project octave):
Ah, you mean testing individual compiled functions. That isn't even possible
in core Octave, is it? (I only get " ... is a built-in function")
I was focused more on the 'pkg test <package_name>' variety.
As far as I can follow Oliver's patch, it simply extracts all tests from any
source file; it getline-s everything, checks for lines starting with %!,
copies those and dumps them all in *.tst files.
So I suppose that it catches all BIST tests, also from individual source
modules and .h files that end up together in an .oct file that has a different
name. For 'pkg test ....' that is all that is required.
Anyway, it now works and that's the main thing.
Many thanks for picking up and finalizing this missing piece, and thanks to
Oliver for providing the main code.
Will you close this or shall I do it after I tested the latest version?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?41298>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files, Philip Nienhuis, 2020/11/01
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files, Markus Mützel, 2020/11/03
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files, Philip Nienhuis, 2020/11/03
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files, Markus Mützel, 2020/11/03
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files, John W. Eaton, 2020/11/05
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files, Philip Nienhuis, 2020/11/05
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files, Markus Mützel, 2020/11/05
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files, Philip Nienhuis, 2020/11/05
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files, Philip Nienhuis, 2020/11/05
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files, Markus Mützel, 2020/11/06
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files,
Philip Nienhuis <=
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files, Markus Mützel, 2020/11/06
- [Octave-bug-tracker] [bug #41298] pkg install: automatically extract %!tests and install both extracted and fixed test files, Markus Mützel, 2020/11/23