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

Make finer-grained spectest targets #2798

Closed
tbrowder opened this issue Mar 26, 2019 · 4 comments
Closed

Make finer-grained spectest targets #2798

tbrowder opened this issue Mar 26, 2019 · 4 comments

Comments

@tbrowder
Copy link
Member

tbrowder commented Mar 26, 2019

The Problem

Running a full spectest on a new branch will show no errors with a modified existing roast standard test, but trying to run the tests in its S* directory or as an individual test fails.

That is exasperating when trying to test during a core change because the existing spectest takes so long. A finer-grained spectest for use before a PR would be very usefule to me.

Alternatively, publishing the exact ./perl6 command for local testing of rakudo with single tests in t/spec/S* would be just as useful.

Expected Behavior

I would like to have a make target something like this:

make spectest-S26-documentation
@AlexDaniel
Copy link
Contributor

Pretty sure you can already do something like:

make t/spec/S26-documentation/05-comment.t

@tbrowder
Copy link
Member Author

@AlexDaniel, you are right, and it works as expected!

Where is that documented (pardon my faulty memory, but I think this is old ground and I just can't find it referenced)?

@AlexDaniel
Copy link
Contributor

Don't think it's documented anywhere, but see here: https://github.com/rakudo/rakudo#building-and-installing-rakudo
Maybe add a sentence or two saying that if you want to run a single test, then you can do that.

@tbrowder
Copy link
Member Author

tbrowder commented Apr 2, 2019

Closed with commit 68adad4.

@tbrowder tbrowder closed this as completed Apr 2, 2019
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