|
From: | Oliver Heimlich |
Subject: | Re: [Octave Forge] Octave 4.0 call for packages |
Date: | Sat, 11 Apr 2015 15:58:44 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 |
On 11.04.2015 15:53, Mike Miller wrote:
On Sat, Apr 11, 2015 at 09:43:52 -0400, John Donoghue wrote:Is there a way to run all/any tests in a package ... so we can do something like: pkg test generalNot yet, open feature request, see bugs #41215 and #41298. For now you can use runtests or __run_test_suite__.
Here is what I did: 1. Install desired packages manually pkg install -noauto -local -forge <package> 2. Use the following script for the tests clear packages = pkg ("list"); for i = 1 : numel (packages) pkg unload all pkg ("load", packages {i}.name) __run_test_suite__ ({packages{i}.dir}, {}) movefile ('fntests.log', [packages{i}.name, '-', ... packages{i}.version, ... '-fntests.log'], 'f'); disp (packages {i}.name) disp (packages {i}.version) input("-- Press any key to continue --"); endfor
[Prev in Thread] | Current Thread | [Next in Thread] |