To read up on the background to this work please see the current latest Paper for more details.
The tests build using Scons with cuppa therefore you need to install Scons. Cuppa can be easily installed using pip:
pip install cuppa
To build simply call:
scons
in the same folder as the sconstruct
file or add -D
(for Descend) from any folder at or below the sconstruct
file
scons -D
By default this will build debug (--dbg
) and release (--rel
) versions using the default toolchain for your system.
If you have multiple toolchains installed, or wish to build specific variants you could type this as an example:
scons --dbg --rel --cov --toolchains=gcc48,gcc49,clang35,clang36
To run tests simply call scons with --test
. For example:
scons --test
or
scons --dbg --rel --cov --toolchains=gcc48,gcc49,clang35,clang36 --test
Any paper revisions under the papers
directory are converted to HTML automatically during the build. All build output can be found under the .build
directory by default.
The tests make use of Boost however cuppa takes care of retrieving and building Boost as needed.