[eigen] Test scripts improvements, and happy new year! |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Test scripts improvements, and happy new year!
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Thu, 31 Dec 2009 16:36:29 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=kpoL1t4nzBRh5vi1V8IZRQDHwHIzzAU/6myultSfVGk=; b=gWoouEd34GTPsSzSuNeNCsezost4QzPB6amT+oHBGRP2oFaRgqJwgUJUqHiC+eKluy g3dKxvlFbevz/pUa+iVgcys/ZEGg19uirHYPnksbJMY63Y5QahWr3mDtUUHRki0zu90E zqylxnKEdt7eC5Fvx5uyF7Ep2+AMpYKnO9kyk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fPQFvFwIY7befUbSTC/rmPZYLRsR3fL1xFS6ou6ZDcUmxws4rzaVdFZBXvjgeipt/h rfmaXVAvRLxfl8K3lDTlRDdDHNHD5CdgY/QLWrol7/59NwTQ4omm0QLGtdCmfL9Zeti0 HOjeBTfFJ7KgvuJoDr4ADnAUuOsnNXAp43WCA=
Hi!
Some improvements to the test scripts ./buildtests and ./check: they
now take only 1 parameter, the regular expression. If you want to
control the number of jobs, this is now done with the EIGEN_MAKE_ARGS
and EIGEN_CTEST_ARGS environment variables. The best part is that I
just had a chat with my friend Marcus who works at Kitware, and he
told me about an undocumented feature in CTest 2.8: it takes a -j
option!
So you could add this to your .bashrc (or wherever you put your
environment variables):
# The following works with GNU make and lets it use 5 concurrent build jobs:
export EIGEN_MAKE_ARGS=-j5
# The following works with CTest >= 2.8 and lets it use 5 concurrent test jobs:
export EIGEN_CTEST_ARGS=-j5
Happy new year!
Benoit