Skip to content

steinwurf/unity

Repository files navigation

About

Linux make-specs Windows make-specs MacOS make-specs Linux CMake Windows CMake MacOS CMake Raspberry Pi Valgrind No Assertions Clang Format Cppcheck

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.

Dependencies

  1. Git: A usable git client installed (see the "Set Up Git" guide at the github help pages)
  2. Python: To use Waf you need to install Python 3.
  3. C++14 compiler: This can be g++, clang or msvc.

Usage

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

About

Waf build scripts for Unity C Testing Framework (https://github.com/ThrowTheSwitch/Unity)

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5