octave-maintainers
[Top][All Lists]
Advanced

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

Re: run BISTs for all installed packages


From: Andrew Janke
Subject: Re: run BISTs for all installed packages
Date: Tue, 5 Feb 2019 08:10:34 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.5.0



On 1/28/19 2:04 PM, "Markus Mützel" wrote:
Am 28. Januar 2019 um 04:11 Uhr schrieb "Andrew Janke"
On 1/21/19 11:44 AM, "Markus Mützel" wrote:
Is there an easy way to run all BISTs of all installed packages?

Here's a function to do this.

__test_pkgs__     ## test all installed packages
__test_pkgs__ control   ## test a single package
__test_pkgs__ ({'control','io'})    ## test just a list of specified
packages

Thanks! IMHO that is pretty useful.
Do you think you could provide a patch that adds this to default Octave? Maybe 
by calling runtests directly.

Since this is still a work in progress, instead of a patch, I've wrapped this up as a pkg package and posted it: https://github.com/apjanke/octave-testify. This "testify" package also includes the "failure summary in test run results" functionality from https://savannah.gnu.org/bugs/index.php?55522.

The code in the package modifies runtests() so that it can be called directly instead of using a copy-and-paste variant.

Cheers,
Andrew



reply via email to

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