Files
lix/tests/functional/repl_characterization/meson.build
T
Alois Wohlschlager 451a14980b libstore: use OpenSSL for Ed25519 signatures
Previously two cryptography libraries were linked into Lix: OpenSSL used for
hashing and (in usual configurations) indirectly via curl for TLS, and Sodium
used only for handling the Ed25519 path info signatures. The latter is
functionally redundant since OpenSSL supports the same use case as well.
Reimplement the Ed25519 handling using OpenSSL and drop Sodium.

Fixes: https://git.lix.systems/lix-project/lix/issues/969

Change-Id: I6a6a696456b9d3ad7fdc2bf9b0759836a6247a38
2025-08-25 17:11:45 +00:00

42 lines
1.0 KiB
Meson

repl_characterization_tester_sources = files(
'repl_characterization.cc',
'test-session.cc',
)
repl_characterization_tester = executable(
'test-repl-characterization',
repl_characterization_tester_sources,
dependencies : [
libasanoptions,
liblixutil,
liblixutil_test_support,
editline,
boost,
lowdown,
gtest,
],
cpp_args : [
f'-DNIX_BIN_DIR="@bindir@"',
],
build_by_default : false,
)
# TODO(Qyriad): better understand the repl characterization tests' preconditions
# so we can run this with the gtest protocol, without run-test.py.
test(
# test-repl-characterization.sh expects the tester executable to have this name,
# so this name it shall have.
'repl-characterization-tests',
python,
args : [
meson.project_source_root() / 'meson/run-test.py',
'test-repl-characterization.sh',
],
depends : [repl_characterization_tester],
env : {
'_NIX_TEST_UNIT_DATA': meson.current_build_dir() / 'data',
'MESON_BUILD_ROOT': meson.project_build_root(),
},
suite : 'installcheck',
)