shithub: sl

Download patch

ref: 475d2ccb12d1ca4ce4c7a2a5b18eed538adf54d4
parent: 06fbabcb04423df351a6104e37b0e9721708a79c
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Oct 28 22:56:23 EDT 2024

meson: run some of the tests

--- a/meson.build
+++ b/meson.build
@@ -126,7 +126,7 @@
 	],
 )
 
-executable(
+flisp = executable(
 	'flisp',
 	sources: [
 		src,
@@ -143,3 +143,13 @@
 		'posix',
 	),
 )
+
+tests_dir = join_paths(meson.current_source_dir(), 'test')
+
+test('argv', flisp, args: ['argv.lsp'], workdir: tests_dir)
+test('hash', flisp, args: ['hashtest.lsp'], workdir: tests_dir)
+#test('perf', flisp, args: ['perf.lsp'], workdir: tests_dir)
+test('tme', flisp, args: ['tme.lsp'], workdir: tests_dir)
+test('torture', flisp, args: ['torture.scm'], workdir: tests_dir)
+test('torus', flisp, args: ['torus.lsp'], workdir: tests_dir)
+test('unit', flisp, args: ['unittest.lsp'], workdir: tests_dir)
--