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

29-os/system.t fails when no perl6 is installed #121

Open
Leont opened this issue Aug 19, 2017 · 1 comment
Open

29-os/system.t fails when no perl6 is installed #121

Leont opened this issue Aug 19, 2017 · 1 comment

Comments

@Leont
Copy link

Leont commented Aug 19, 2017

Currently two tests are not working when working from a rakudo checkout when no rakudo is installed, because both try to find the executable in the path.

  • The &chdir changes the directory processes are spawned in falsely passes, because it's negatively comparing the old cwd against empty strings.
  • :cwd(...) changes the directory processes are spawned in fails visibly

I tried replacing the basename with absolute, but apparently that doesn't result in a working invokation (Unhandled exception: While looking for 'Perl6/Grammar.moarvm': no such file or directory).

I suspect the solution will be something like "if running from a checkout, execute this, otherwise execute that". Until then we might as well skip it, as it's running the wrong perl6 anyway.

@Leont
Copy link
Author

Leont commented Aug 19, 2017

Actually, a rather similar issue (but around Test.pm6) also occurs in t/spec/S24-testing/12-subtest-todo.t

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

1 participant