rakudo-pkg icon indicating copy to clipboard operation
rakudo-pkg copied to clipboard

skip zef test

Open melezhik opened this issue 4 years ago • 2 comments

It'd speed up the process quite a bit, as zef tests take some time. Or maybe we could think about some environmental variable to handle this?

melezhik avatar Jun 14 '21 22:06 melezhik

install-zef is just a commodity script and I think that running tests is what you want most of the time. Advanced users can probably just copy the one-liner. Do you have a use-case when the user does not want to run tests?

nxadm avatar Oct 24 '21 17:10 nxadm

Hi! Yes. I see.

In automatic installation of rakudo and zef, time is important. When install zef using this script, it run tests and that takes some ( significant ) time. If I run it second time it still runs tests ...

Maybe is not a big deal but would be good to have an option to skip tests.

Maybe just providing a special environment variable?

melezhik avatar Oct 24 '21 17:10 melezhik

As is, the PR disable the tests for everyone, so I will close it. Reopen append it, eg with something like this:

/opt/rakudo-pkg/bin/raku -I. bin/zef --install-to=home --force-install $@ install .

But you need to make sure it's not a bashism because the script run on Bourne Shell to be portable.

nxadm avatar Sep 07 '22 08:09 nxadm