;; This is all a bit messy, but probably the simplest way to test interpreted *and* compiled (use numbers test setup-api) (test-group "interpreted" (fluid-let ((test-exit void)) (load "all-tests.scm"))) (test-group "compiled" (compile -X numbers-syntax -O3 "all-tests.scm") (let ((exit-status (system "./all-tests"))) (test "compiled test succeeded" 0 exit-status))) (test-exit)