From 4ebb827944d8902bdd7a7a10e799eb0a7f58dd5e Mon Sep 17 00:00:00 2001 From: giskard Date: Sun, 27 Oct 2024 21:57:40 +0800 Subject: [PATCH] monocypher: add the test by default --- subprojects/packagefiles/monocypher/meson.build | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/subprojects/packagefiles/monocypher/meson.build b/subprojects/packagefiles/monocypher/meson.build index f6007f51b..4291c876e 100644 --- a/subprojects/packagefiles/monocypher/meson.build +++ b/subprojects/packagefiles/monocypher/meson.build @@ -17,3 +17,14 @@ monocypher_dep = declare_dependency( include_directories: ['src', 'src/optional'], link_with: monocypher_lib, ) + +monocypher_test = executable( + 'monocypher_test', [ + 'tests/test.c', + 'tests/utils.c', + ], + include_directories: ['tests'], + dependencies: monocypher_dep, +) + +test('monocypher', monocypher_test)