Closed Hellseher closed 1 year ago
Set an environment first like it tells you to. It's explained in the documentation.
Hi,
When I tried to follow it ended up with empty documentation.
function (SETF ENVIRONMENT) ENVIRONMENT
No documentation provided.
By environment
do you mean environment variables or I need to load the system and follow interactive setup?
If it's something other than env vars, tests require radiance
full configuration first in that case.
I wonder why tests do not use default enviroment as far as I get this line right
https://github.com/Shirakumo/radiance/blob/a7237831970edfd330dddd5b347d3d1277853bf0/environment.lisp#L79
Thanks.
Hi,
I'm sorry to re-open the issue. Is there any way to run provided test programatically without manual set-up of the Radiance? I still trying to resolve tests in Guix CI which has not any manual interactions.
Thanks, Oleg
sbcl --eval '(ql:quickload :radiance)' --eval '(setf (radiance:environment) "default")' --eval '(asdf:test-system :radiance)'
Hi, Thank you for your responce. Unfortunatly tests require radiance-contrib but radiance-contrib requires radiance
Attempt to build radiance-contrib without radiance
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
While evaluating the form starting at line 8, column 0
of #P"/gnu/store/afzkma9x07gyw9xzgkm4dsqv52q25mjn-sbcl-radiance-contribs-1.0.0-1.710b3e1/share/common-lisp/sbcl/radiance-contribs/r-clip/r-clip.asd":
Unhandled MISSING-DEPENDENCY in thread #<SB-THREAD:THREAD tid=28 "main thread" RUNNING {10013A8003}>: Component "radiance" not found, required by NIL
Attempt to test radiance without radiance-contrib:
WARNING: Configuration for "default" not found-- creating from defaults.
Unhandled ASDF/FIND-COMPONENT:MISSING-COMPONENT in thread #<SB-THREAD:THREAD tid=32 "main thread" RUNNING
{100AF80073}>:
Component "r-simple-ban" not found
Backtrace for: #<SB-THREAD:THREAD tid=32 "main thread" RUNNING {100AF80073}>
I have no quicklisp option, so here is my infokation steps:
sbcl --noinform \
--non-interactive \
--no-userinit \
--eval "(require :asdf)" \
--eval "(pushnew (uiop:getcwd) asdf:*central-registry*)" \
--eval "(pushnew (merge-pathnames "test/" (uiop:getcwd)) asdf:*central-registry*)" \
--eval "(asdf:load-system :radiance)" \
--eval "(setf (radiance:environment) "default")" \
--eval "(asdf:load-system :radiance-test)" \
--eval "(asdf:load-system :radiance-core)" \
--eval "(setf (radiance-core:environment) "default")" \
--eval "(asdf:test-system :radiance)" \
--eval "(quit)"
Hi,
How to run tests automaticaly? So far I've got this error: