shithub: femtolisp

Download patch

ref: 1968e9fb354f74f83a07de9cd8c254ebff6a1f17
parent: e68062e70197ebe7aded32ef48bf2aefac2c26b6
author: Sigrid Solveig Haflínudóttir <[email protected]>
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)