Skip to content

Document existing 'make' targets; identify possible new ones #18548

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

Closed
jkeenan opened this issue Feb 9, 2021 · 7 comments
Closed

Document existing 'make' targets; identify possible new ones #18548

jkeenan opened this issue Feb 9, 2021 · 7 comments
Assignees

Comments

@jkeenan
Copy link
Contributor

jkeenan commented Feb 9, 2021

As per discussion in #18545 (comment), we should better document our make targets.

Step 1 would be to assemble a list of make targets which contributors and committers currently use. The following come to mind for me (in approximate order of build):

make miniperl
make minitest_prep
make minitest
make
make test_porting
make test_harness

Are there others?

Step 2 would be to prepare a list of make targets we don't currently have but would be nice to have. For example, targets to run tests for just those *.t files in a particular directory tree, whether with miniperl or perl.

@leonerd
Copy link
Contributor

leonerd commented Feb 9, 2021

I quite often do make -j4 perl to get just enough of the actual binary, to then do some quick ./perl -Ilib -E... for testing purposes while developing something new

@Corion
Copy link

Corion commented Feb 9, 2021

I often use

make -j8 test_prep && HARNESS_OPTIONS=j8 make test_harness

So I also nominate test_prep, in addition to minitest_prep.

There also is test_reonly, but I'm wondering about how we could better formalize speficying a group/set of tests in a more generic way, or if we want that at all.

@Tux
Copy link
Contributor

Tux commented Feb 9, 2021

I was about to nominate test_prep too (or test-prep).
I'd also say regen_headers
And you forgot clean, realclean, veryclean, and distclean

@jkeenan
Copy link
Contributor Author

jkeenan commented Feb 9, 2021

I was about to nominate test_prep too (or test-prep).

I can't believe I forgot make test_prep, because I use that all the time.

I'd also say regen_headers
And you forgot clean, realclean, veryclean, and distclean

But there are others which I did not know or never use. I see this as something where we start by documenting the most widely used and going on from there.

@jkeenan jkeenan self-assigned this Feb 10, 2021
@jkeenan
Copy link
Contributor Author

jkeenan commented Feb 10, 2021

I've done some preliminary research on this and am going to try to pull together a small group of people to work on this collectively.

@tonycoz
Copy link
Contributor

tonycoz commented Feb 11, 2021

There also is test_reonly, but I'm wondering about how we could better formalize speficying a group/set of tests in a more generic way, or if we want that at all.

There is:

make test TEST_FILES='op/*.t'

which might not be what you're after.

@jkeenan jkeenan closed this as completed Aug 21, 2022
@demerphq
Copy link
Collaborator

demerphq commented Oct 11, 2022 via email

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

No branches or pull requests

6 participants