From 969bf523b7039c7038b66edde5776278c27941ac Mon Sep 17 00:00:00 2001 From: pommicket Date: Sun, 14 Sep 2025 22:08:22 -0400 Subject: Start tests --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 3a09963..5fafc31 100644 --- a/meson.build +++ b/meson.build @@ -2,4 +2,6 @@ project('pom', 'c', # Note: Only C99 is strictly needed default_options: ['c_std=c23']) library('pom', 'pom.c') -static_library('pom', 'pom.c') +static_lib = static_library('pom', 'pom.c') +tests = executable('tests', 'tests/main.c', 'tests/parsing.c', link_with: [static_lib]) +test('tests', tests) -- cgit v1.2.3