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: Mon, 28 Jan 2019 14:26:39 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.4.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.

Thanks!

It's still a work in progress. Once it's settled, I'll look at writing a patch for it to go with the related patch at https://savannah.gnu.org/bugs/?55522. runtests() would have to be modified to return more info: the my_runtests() local function in __test_pkgs__() is just a copy-and-paste of runtests(), modified to return a failure count.

Cheers,
Andrew



reply via email to

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