Add testing infrastructure
This commit is contained in:
parent
886f1d45cb
commit
2fb3ea46fc
4 changed files with 41 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue