Skip to content

Commit

Permalink
Add a test for the dynamic space and SBCL version to the asd
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinmera committed Nov 28, 2023
1 parent dda25c6 commit 4034ea8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions trial.asd
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,13 @@
:convex-covering
:machine-state/opengl
(:feature :windows :com-on)))

#+sbcl
(when (< (floor (sb-ext:dynamic-space-size) (* 1024 1024 1024)) 2)
(error "Trial requires at least 2GB of dynamic space size.
SBCL is currently configured for ~dGB
Make sure SBCL is built or run with --dynamic-space-size 2Gb or more." (ceiling (sb-ext:dynamic-space-size) (* 1024 1024 1024))))

#+sbcl
(sb-ext:assert-version->= 2 2)

0 comments on commit 4034ea8

Please sign in to comment.