octave-maintainers
[Top][All Lists]
Advanced

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

runtests with output arguments


From: Colin Macdonald
Subject: runtests with output arguments
Date: Wed, 11 Jan 2017 13:19:08 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

Hi folks,

I'd like to improve "runtests". I submitted some patches to add optional output arguments [1]. E.g.,

>> success = runtests('.')

>> [npass, total, nxfail, nskip] = runtests('.')

I also changed it so that "runtests DIR" execute tests on 'DIR/@class' (previous behaviour was just the m-files in DIR). This was already the behaviour for runtests without arguments.

Are these welcome changes?

(I do know about "__run_test_suite__" but the underscores have always scared me off.)

[1] https://savannah.gnu.org/patch/?9220

cheers,
Colin



reply via email to

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