Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests failed for ECL implementation #3

Closed
Hellseher opened this issue May 17, 2021 · 2 comments
Closed

Tests failed for ECL implementation #3

Hellseher opened this issue May 17, 2021 · 2 comments
Labels

Comments

@Hellseher
Copy link

Hi,

While packing for Guix I noticed that test failed for ECL implementation.

phase `build' succeeded after 1.6 seconds starting phase `check'
Invoking ecl: "/gnu/store/pmg6fgkd59v8p52g186q3na0dx2bw3p1-ecl-21.2.1/bin/ecl"
"--eval" "(require :asdf)" "--eval" "(asdf:load-asd (truename
\"/gnu/store/97aiyiablqfph85bmkna350b4g7nchl1-ecl-xmls-3.0.2-1.18546f0/share/common-lisp/ecl/xmls/xmls.asd\"))"
"--eval" "(when (uiop:file-exists-p \"xmls-tests.asd\") (asdf:load-asd
(truename \"xmls-tests.asd\")))" "--eval" "(when (uiop:file-exists-p
\"xmls-test.asd\") (asdf:load-asd (truename \"xmls-test.asd\")))"
"--eval" "(when (uiop:file-exists-p \"tests.asd\") (asdf:load-asd
(truename \"tests.asd\")))" "--eval" "(when (uiop:file-exists-p
\"test.asd\") (asdf:load-asd (truename \"test.asd\")))" "--eval"
"(asdf:test-system \"xmls\")" "--eval" "(quit)" ;;; Loading
#P"/gnu/store/pmg6fgkd59v8p52g186q3na0dx2bw3p1-ecl-21.2.1/lib/ecl-21.2.1/asdf.fas"
An error occurred during initialization: There is no symbol :TEST in
package "XMLS". command
"/gnu/store/pmg6fgkd59v8p52g186q3na0dx2bw3p1-ecl-21.2.1/bin/ecl"
"--eval" "(require :asdf)" "--eval" "(asdf:load-asd (truename
\"/gnu/store/97aiyiablqfph85bmkna350b4g7nchl1-ecl-xmls-3.0.2-1.18546f0/share/common-lisp/ecl/xmls/xmls.asd\"))"
"--eval" "(when (uiop:file-exists-p \"xmls-tests.asd\") (asdf:load-asd
(truename \"xmls-tests.asd\")))" "--eval" "(when (uiop:file-exists-p
\"xmls-test.asd\") (asdf:load-asd (truename \"xmls-test.asd\")))"
"--eval" "(when (uiop:file-exists-p \"tests.asd\") (asdf:load-asd
(truename \"tests.asd\")))" "--eval" "(when (uiop:file-exists-p
\"test.asd\") (asdf:load-asd (truename \"test.asd\")))" "--eval"
"(asdf:test-system \"xmls\")" "--eval" "(quit)" failed with status 1
builder for `/gnu/store/ibfq58irvnmbl28xs2llg8d4bliqdr26-ecl-xmls-3.0.2-1.18546f0.drv'
failed with exit code 1 build of
/gnu/store/ibfq58irvnmbl28xs2llg8d4bliqdr26-ecl-xmls-3.0.2-1.18546f0.drv
failed View build log at
'/var/log/guix/drvs/ib/fq58irvnmbl28xs2llg8d4bliqdr26-ecl-xmls-3.0.2-1.18546f0.drv.bz2'.
cannot build derivation
@rpgoldman
Copy link
Owner

The reason that is happening is that the test is wrapped in

#+(or sbcl cmu allegro abcl ccl clisp)

...and the reason I did that was that I didn't know how command line arguments work in ECL, and test accepts command-line arguments.

I tweaked it so that it (sort of) works, and the tests pass on ECL, so you can use XMLS with reasonable confidence.

@rpgoldman
Copy link
Owner

Fixed by #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants