2019-05-03 00:18:45 +03:00
|
|
|
malloc_tests = executable(
|
|
|
|
'malloc_tests',
|
|
|
|
'malloc_tests.c',
|
|
|
|
include_directories: inc,
|
|
|
|
link_with: ft_malloc,
|
|
|
|
)
|
|
|
|
|
2019-05-07 22:50:31 +03:00
|
|
|
|
2019-05-08 21:10:37 +03:00
|
|
|
malloc_fuzzy = executable(
|
2019-05-07 22:50:31 +03:00
|
|
|
'malloc_fuzzy',
|
|
|
|
'fuzzy.c',
|
|
|
|
include_directories: inc,
|
|
|
|
link_with: ft_malloc,
|
|
|
|
)
|
|
|
|
|
2019-05-08 21:10:37 +03:00
|
|
|
zlib_dep = dependency('zlib')
|
2019-05-07 22:50:31 +03:00
|
|
|
|
2019-05-08 21:10:37 +03:00
|
|
|
malloc_fuzzy_fast = executable(
|
|
|
|
'malloc_fuzzy_fast',
|
|
|
|
'fuzzy_fast.c',
|
|
|
|
include_directories: inc,
|
|
|
|
link_with: ft_malloc,
|
|
|
|
dependencies: zlib_dep
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
test('basic', malloc_tests)
|
|
|
|
|
|
|
|
test('fuzzy', malloc_fuzzy, args: ['10', '1000', '0', '10000'])
|
2019-05-09 23:53:14 +03:00
|
|
|
test('fuzzy_fast', malloc_fuzzy_fast, args: ['10', '1000', '0', '10000'])
|