Small-Enough-Tester

Tiny C testing framework.

Build

To build the library simply call make in the repository root.

Alternatively it is possible to directly call the compiler with:

gcc -c src/*.c
ar rcs libset.a *.o
rm *.o                  # Clean up

Options

SET comes with a couple of build options that might come in handy in different scenarios.

  • no_banner: Do not print banner every time the tests are run.

      make no_banner=y
    
  • colorized: Build with colorized output.

      make colorized=y
    

Building a test.

To build a test, first build the library. Then link it to the test.c via:

gcc -static test.c -L . -lset -o test

LICENSE

This software is licensed under GPL v3.0 . For more information see LICENSE.

Description
Tiny C testing framework.
Readme GPL-3.0 115 KiB
Languages
C 99.4%
C++ 0.6%