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

Exceptions on testing #4

Closed
Altai-man opened this issue Jan 4, 2017 · 3 comments
Closed

Exceptions on testing #4

Altai-man opened this issue Jan 4, 2017 · 3 comments

Comments

@Altai-man
Copy link

On fresh rakudo:

➜  ~ perl6 --version
This is Rakudo version 2016.12-201-g528ec53 built on MoarVM version 2016.12-60-g36f3385
implementing Perl 6.c.

The package can not be installed:

➜  ~ zef install Gumbo
===> Searching for: Gumbo
...
# XML part is skipped.
...
===> Testing: Gumbo:auth('Sylvain Colinet')
Could not find symbol '&Document'
  in block <unit> at t/01_basic.t line 22

Actually thrown at:
  in block <unit> at t/01_basic.t line 22

t/01_basic.t .... All 5 subtests passed 
t/02_filters.t .. ok 
Could not find symbol '&Document'
  in block <unit> at t/03_stats.t line 22

Actually thrown at:
  in block <unit> at t/03_stats.t line 22

t/03_stats.t .... All 8 subtests passed 
All tests successful.

Test Summary Report
-------------------
t/01_basic.t  (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: Bad plan.  You planned 5 tests but ran 0.
t/03_stats.t  (Wstat: 0 Tests: 0 Failed: 0)
  Parse errors: Bad plan.  You planned 8 tests but ran 0.
Files=3, Tests=5,  7 wallclock secs
Result: FAILED
===> Testing [FAIL]: Gumbo:auth('Sylvain Colinet')

It may be related to latest changes with import scoping, since package doesn't export Document now, but I'm not sure.

@Skarsnik
Copy link
Owner

Skarsnik commented Jan 4, 2017

I see. the use XML in Gumbo does not export the types XML provide now? Can you point me with possible solutions (if it was already discussed/proposed)

@Altai-man
Copy link
Author

@Skarsnik, I'm really not sure it is this particular reason, but http://rakudo.org/2016/12/17/lexical-module-loading/ can be useful in further research.
The article is written about future release of January 2017, but after I added use XML into first and third test files the installation was fixed.

I can send a pull request if needed.

@Skarsnik Skarsnik closed this as completed Jan 5, 2017
@Skarsnik Skarsnik reopened this Jan 5, 2017
@Skarsnik
Copy link
Owner

Skarsnik commented Jan 5, 2017

Fixed with e5f1edf

@Skarsnik Skarsnik closed this as completed Jan 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants