A header file containing a set of error handling macros for C programs using Glib.
This procedure requires CMake, Glib and a C compiler.
- Create a build folder inside the tests folder (e.g.
mkdir build
) - CD into the build folder (e.g.
cd build
) and run CMake (e.g.cmake ..
) - Compile the tests file (e.g.
make
)
The tests can be executed in two ways:
- Run the tests executable directly (e.g.
./tests
) - Run the tests with gtester (e.g.
gtester tests
)