aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-08-17 10:45:44 +0530
committersinanmohd <sinan@sinanmohd.com>2024-08-17 10:48:02 +0530
commit2ca5f0e70b82ad0c61123ba573d81eb70d7a06ee (patch)
treeabcedab87317168b80592b959e5bcc978ff2a507 /src
parent2fcd85efd02195fb6163b0e3cfeeb6b51368cfe1 (diff)
evanix: better meson tests
Diffstat (limited to 'src')
-rw-r--r--src/meson.build13
1 files changed, 12 insertions, 1 deletions
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