-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Igal,
On 3/14/19 16:29, Igal Sapir wrote: > On 3/14/2019 12:51 PM, Mark Thomas wrote: >> On 14/03/2019 19:26, Igal Sapir wrote: >>> Does test.threads default to 1 for a reason? >> Mostly historical. The tests weren't originally designed to run >> in parallel. >> >>> If there is no objection, I would like to set the default to >>> the number of available CPU Threads. It looks like that can be >>> done with a custom Ant task which should be fairly simple to >>> implement. >> I over-ride it locally so I'm not going to be directly affected. >> >> A custom Ant task seems a little over-engineered compared to >> setting a property in build.properties. > > I override it in build.properties as well, but I find myself doing > it each time I download the sources for testing a tagged version, > or at least copy the file from one version to another. If you're > doing it in your dev directory and simply added "build.properties" > to .gitignore then you are not affected by this. I think you are on Windows (?),. but maybe you could use this script: https://github.com/ChristopherSchultz/apache-tomcat-stuff/tree/master/bi n (look for test-tomcat-release.sh) That script builds a custom build.properties and then runs everything. It could trivially add a threads setting to build.properties. - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlyMOxQACgkQHPApP6U8 pFjofBAAy1UKpHmO8eWUUrkvWpcQR0na3b9skAjrQjIe1kOojTvjuDfESxQtkXRJ CRgwOl7ztpmxveStBErW8+OFLgovh/ilrL9Yxc3RNelJ7Z3Pmv87DevEJDt9VmNR 3q5JL6yx7EOLLTkXA+Z/PfbHmOXA6BN/wwI4d60x89tRqpSuWhE6BxFvRHxCfFOV hUeMlAfeWZwXcCsoXwaj9CwMb16X3GbSPMvj+3EcFM51GV5gnJHwVsyA9PFTRIZR 2WPOM9As8Lms3fayiFR8K3DlA3N1H94fA9oyGlQUXeq6qXBxYjLTh8ayUSEJFpkx N0P+DzqU0ydMAgHMeP1sumf85T7FZ3BNSTBUONgGYgUoIThi+RXy6/6OoUi2xgR2 ZdkdQBX7i1KqNIk3aua7zke58g9oDCVV/T/6k7CamhiGR13fDZAZ3SBZiDdReLxm /OTp0YoNG+jOhiQ8yOL2aVBCvQdvJW4i8f5agYnfciL+S8z9xgUuvRvsHoVBHhgg 2kifiDJ30MN4SE0iQDGZUDdSD3RZu0GMCP0Zp6nXRioIDo94285a94/qUgm+Vjdm ZfbghLrNtziXqBiUZoD1qkVVFygJnO2uM1Yl9Bnl2WdcmGLE+ukMeMqzGYk8ScM6 /y36CnkCjtULfm7TcVkSaNUU/EzjUKljwdvp0FVAN9mrYdA2JEw= =iiK4 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org