On Thu, Aug 16, 2018 at 04:33:56PM +0200, Stefan Hundhammer wrote:
rake test:unit in yast-storage-ng took 22:30 (yes, 22 min 30 sec!) on my
machine before that.
Using parallel tests reduced this to 4:50. The code and the tests were
running on a local XFS filesystem, not on NFS.
Moving the y2log from my NFS home to that local XFS reduced it to 0:37 (!!).
Redirecting the y2log to /dev/null reduced it to 0:31 (!!).
This is as simple as
Y2SLOG_FILE is the right variable (who knows why).
or, for just that one call,
Y2LOG_FILE=/dev/null rake test:unit
This is really worthwhile.
Thanks, that is indeed worthwhile.
In general I would expect a testsuite to generate a logfile per
test in the local directory. Otherwise finding the log for a
single test seems almost impossible.
Arvin Schnell, <aschnell(a)suse.com>
Senior Software Engineer, Research & Development
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG
To unsubscribe, e-mail: yast-devel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: yast-devel+owner(a)opensuse.org