Add testing infrastructure

This commit is contained in:
Dimitri Lozeve 2020-06-04 10:35:01 +02:00
parent 886f1d45cb
commit 2fb3ea46fc
4 changed files with 41 additions and 0 deletions

View file

@ -9,3 +9,8 @@ executable('ex03', ['ex03/main.c', 'utils.c'], dependencies: m_dep)
executable('ex04', ['ex04/main.c', 'utils.c'], dependencies: m_dep)
executable('ex05', ['ex05/main.c', 'utils.c'], dependencies: m_dep)
executable('ex06', ['ex06/main.c', 'utils.c'], dependencies: m_dep)
munit_dep = dependency('munit', fallback: ['munit', 'munit_dep'])
tests = executable('tests', ['tests/main.c', 'utils.c'], dependencies: [m_dep, munit_dep])
test('tests', tests)