diff options
Diffstat (limited to 'src/lib/util/meson.build')
-rw-r--r-- | src/lib/util/meson.build | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/src/lib/util/meson.build b/src/lib/util/meson.build index 98d9e981c..300854c0e 100644 --- a/src/lib/util/meson.build +++ b/src/lib/util/meson.build | |||
@@ -598,8 +598,6 @@ test('test_uri', testuri, | |||
598 | workdir: meson.current_build_dir(), | 598 | workdir: meson.current_build_dir(), |
599 | suite: ['util', 'util-misc']) | 599 | suite: ['util', 'util-misc']) |
600 | 600 | ||
601 | # FIXME Benchmarks | ||
602 | |||
603 | testos_start_process = executable ('test_os_start_process', | 601 | testos_start_process = executable ('test_os_start_process', |
604 | ['test_os_start_process.c'], | 602 | ['test_os_start_process.c'], |
605 | dependencies: [libgnunetutil_dep], | 603 | dependencies: [libgnunetutil_dep], |
@@ -621,4 +619,27 @@ test('test_common_logging_runtime_loglevels', testcommon_logging_runtime, | |||
621 | workdir: meson.current_build_dir(), | 619 | workdir: meson.current_build_dir(), |
622 | suite: ['util', 'util-common']) | 620 | suite: ['util', 'util-common']) |
623 | 621 | ||
624 | 622 | testutil_perf = [ | |
623 | 'perf_crypto_asymmetric', | ||
624 | # 'perf_crypto_cs', FIXME FTBFS | ||
625 | 'perf_crypto_ecc_dlog', | ||
626 | 'perf_crypto_hash', | ||
627 | 'perf_crypto_paillier', | ||
628 | 'perf_crypto_rsa', | ||
629 | 'perf_crypto_symmetric', | ||
630 | 'perf_malloc', | ||
631 | 'perf_mq', | ||
632 | 'perf_scheduler', | ||
633 | ] | ||
634 | |||
635 | foreach t : testutil_perf | ||
636 | |||
637 | test_filename = t + '.sh' | ||
638 | testbin = executable(t, [t + '.c'], | ||
639 | dependencies: [libgnunetutil_dep, gcrypt_dep, sodium_dep], | ||
640 | include_directories: [incdir, configuration_inc], | ||
641 | build_by_default: false, | ||
642 | install: false) | ||
643 | test(t, testbin, suite: ['util', 'perf'], | ||
644 | workdir: meson.current_build_dir()) | ||
645 | endforeach | ||