Skip to content
This repository has been archived by the owner on Aug 2, 2020. It is now read-only.

Does hadrian support the equivalent of: make STAGE=1 TEST="A B C" ? #556

Closed
alpmestan opened this issue Apr 3, 2018 · 8 comments
Closed
Assignees

Comments

@alpmestan
Copy link
Collaborator

alpmestan commented Apr 3, 2018

i.e running some tests against the stage1 compiler (<build root>/stage0/bin/ghc). Simon PJ expressed interest in having hadrian support this, and I'm not sure the current validate/test rules support it. Does it? If not, I'll add this issue to my TODO :-)

@snowleopard
Copy link
Owner

@alpmestan Yes, sure, we will need to support existing flags for testsuite. I think this is the existing issue

#187

If it's incomplete, please add a comment there.

@Mistuke
Copy link
Contributor

Mistuke commented May 5, 2018

There are quite a few other make variables though https://github.com/ghc/ghc/blob/master/testsuite/mk/test.mk#L10 are a few.

@chitrak7
Copy link
Contributor

With #621 We can close this now @snowleopard ?

@snowleopard
Copy link
Owner

@chitrak7 Let me give this a try. I'll close the issue if everything works as expected.

@snowleopard snowleopard self-assigned this Jun 15, 2018
@snowleopard
Copy link
Owner

@alpmestan By the way, what do you think -- does #621 provide enough functionality?

@alpmestan
Copy link
Collaborator Author

alpmestan commented Jun 15, 2018

Yes, AFAICT. #621 gives us --test-compiler, which when set to stage1 and in conjuction with --only gives us what the title of this issue is about. Closing this issue, please reopen if there's a problem.

@snowleopard
Copy link
Owner

@alpmestan Awesome, thanks!

@snowleopard
Copy link
Owner

And also thanks to @chitrak7, of course!

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

No branches or pull requests

4 participants