Skip to content

Commit

Permalink
Allow running tests via ASDF
Browse files Browse the repository at this point in the history
  • Loading branch information
scymtym committed Jan 1, 2024
1 parent 92c6a9d commit 01cb618
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
13 changes: 11 additions & 2 deletions Code/Test/clostrum-test.asd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@

(defsystem "clostrum-test"
:description "Test suite for a Clostrum implementation."
:depends-on ("clostrum" "fiveam")
:depends-on ("clostrum"
"clostrum-basic"
"fiveam")
:components
((:file "packages")
(:file "tests")))
(:file "tests"))
:perform (test-op (operation component)
(uiop:symbol-call
'#:clostrum/test '#:run-tests
nil ; client
(find-symbol "RUN-TIME-ENVIRONMENT" (find-package "CLOSTRUM-BASIC")) ; runtime env
nil ; evaluation env
(find-symbol "COMPILATION-ENVIRONMENT" (find-package "CLOSTRUM-BASIC"))))) ; compilation env
3 changes: 2 additions & 1 deletion Code/clostrum.asd
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
(:file "clostrum")
(:file "default-methods")
(:file "conditions")
(:file "documentation")))
(:file "documentation"))
:in-order-to ((test-op (test-op "clostrum-test"))))

0 comments on commit 01cb618

Please sign in to comment.