Hey,
you ever wondered why the unit tests took so long on your machine? Try
to disable the test coverage.
$ NOCOVERAGE=1 ./autotest.sh sqlite apps/files_sharing/tests/api.php
[...]
Testing with sqlite ...
No coverage
[...]
Time: 7.07 seconds, Memory: 30.50Mb
[...]
$ ./autotest.sh sqlite apps/files_sharing/tests/api.php
[...]
Testing with sqlite ...
[...]
Time: 3.92 minutes, Memory: 54.75Mb
[...]
Maybe also add this to your shells rc (~/.bashrc, ~/.zshrc, etc):
export NOCOVERAGE=1
The full autotest for sqlite (./autotest.sh sqlite) then only tooks
around 3 minutes on my machine.
Have fun with testing.
Morris
--
Morris Jobke
ownCloud Inc.
Your Data, Your Cloud, Your Way!
ownCloud GmbH, GF: Markus Rex, Holger Dyroff, Frank Karlitschek
Schloßäckerstrasse 26a, 90443 Nürnberg, HRB 28050 (AG Nürnberg)
_______________________________________________
Devel mailing list
[email protected]
http://mailman.owncloud.org/mailman/listinfo/devel