add small programs for compile testing
Some checks failed
Sex CI / build-macos (push) Has been cancelled
Sex CI / build-linux (push) Has been cancelled

This commit is contained in:
2026-05-27 18:00:18 +03:00
parent 878d415e22
commit 8ae2346e41
5 changed files with 129 additions and 2 deletions

View File

@@ -166,6 +166,10 @@
(single-char #\h))))
(define (process-test-file sexc path)
(set-environment-variable! "SEX_MODULE_PATH"
(normalize-pathname (make-absolute-pathname
(current-directory)
(pathname-directory path))))
(let* ((settings-and-src (process-file path))
(settings (car settings-and-src))
(src (cdr settings-and-src))