Fix meson tests build
This commit is contained in:
@@ -103,6 +103,7 @@ endif
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
|
|
||||||
subdir('lib')
|
subdir('lib')
|
||||||
|
|
||||||
if enable_programs
|
if enable_programs
|
||||||
subdir('programs')
|
subdir('programs')
|
||||||
endif
|
endif
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ fullbench_sources = [datagen_c_file,
|
|||||||
util_c_file,
|
util_c_file,
|
||||||
benchfn_c_file,
|
benchfn_c_file,
|
||||||
join_paths(programs_dir, 'benchzstd.c'),
|
join_paths(programs_dir, 'benchzstd.c'),
|
||||||
join_paths(programs_dir, 'fullbench.c')]
|
join_paths(tests_dir, 'fullbench.c')]
|
||||||
fullbench = executable('fullbench',
|
fullbench = executable('fullbench',
|
||||||
fullbench_sources,
|
fullbench_sources,
|
||||||
include_directories: test_includes,
|
include_directories: test_includes,
|
||||||
@@ -49,10 +49,10 @@ fuzzer = executable('fuzzer',
|
|||||||
install: false)
|
install: false)
|
||||||
test('fuzzer', fuzzer)
|
test('fuzzer', fuzzer)
|
||||||
|
|
||||||
paramgrill_sources = [benchfn_c_file
|
paramgrill_sources = [benchfn_c_file,
|
||||||
join_paths(programs_dir, 'benchzstd.c'),
|
join_paths(programs_dir, 'benchzstd.c'),
|
||||||
datagen_c_file
|
datagen_c_file,
|
||||||
util_c_file
|
util_c_file,
|
||||||
join_paths(tests_dir, 'paramgrill.c')]
|
join_paths(tests_dir, 'paramgrill.c')]
|
||||||
if host_machine.system() != 'windows'
|
if host_machine.system() != 'windows'
|
||||||
paramgrill = executable('paramgrill',
|
paramgrill = executable('paramgrill',
|
||||||
|
|||||||
Reference in New Issue
Block a user