From 2ca5f0e70b82ad0c61123ba573d81eb70d7a06ee Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Sat, 17 Aug 2024 10:45:44 +0530 Subject: evanix: better meson tests --- src/meson.build | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index b88a0da..c81958c 100644 --- a/src/meson.build +++ b/src/meson.build @@ -19,4 +19,15 @@ e = executable( c_args: [f'-DNIX_EVAL_JOBS_PATH=@NIX_EVAL_JOBS_PATH@'], ) -test('evanix', e, args: '--help') + +foreach solver : ['sjf', 'highs', 'conformity'] + test('evanix', e, args: [ + '--dry-run', + '--close-unused-fd=false', + '--max-build=3', + '--solver-report', + f'--solver=@solver@', + '--flake', + '../#packages.x86_64-linux' + ]) +endforeach -- cgit v1.2.3