Coverage report: /home/ellis/comp/core/lib/syn/tests/gen/rs.lisp
Kind | Covered | All | % |
expression | 0 | 9 | 0.0 |
branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
1
;;; rs.lisp --- SYN/GEN/RS Tests
6
(defpackage :syn/tests/gen/rs
7
(:use :cl :syn/tests/gen :syn/gen :gen/rs)
8
(:import-from :rt :deftest :is :iseql :isequal :in-suite :defsuite)
9
(:import-from :cli/tools/rust :run-cargo)
11
#:*gen-rs-test-files*))
13
(in-package :syn/tests/gen/rs)
14
(defsuite :syn/gen/rs)
15
(in-suite :syn/gen/rs)
17
(defvar *gen-rs-test-files* (asdf:system-relative-pathname :syn "tests/gen/rs/"))
20
"Test a set of simple GEN/RS forms."
22
(with-gen-test (merge-pathnames "simple.sxp" *gen-rs-test-files*)
24
(is (probe-file %out))
26
;; (is (probe-file %bin))
28
;; TODO 2024-12-19: (run-cargo (namestring %out)) ;; use cargo-script
29
;; (is (probe-file %bin))
31
;; (format nil "Hello, World!~%")
32
;; (with-output-to-string (s)
33
;; (sb-ext:run-program %bin nil :output s :wait t)))