We use the Unity C Testing Framework to test some of our c libraries and kernel modules. We use Waf to compile unity for various platforms. We provide the Waf and wscript files needed to build the unity library.
- Git: A usable git client installed (see the "Set Up Git" guide at the github help pages)
- Python: To use Waf you need to install Python 3.
- C++14 compiler: This can be g++, clang or msvc.
Clone this repository to a suitable folder:
Download the source from GitHub by cloning the repository. Issue this command in your terminal:
git clone git://github.com/steinwurf/unity.git
Configure and build the project:
cd unity python waf configure python waf build
Run the unit tests:
python waf --run_tests