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

Add 'test_author' 'make' target (and alias 'atest') #175

Closed
wants to merge 2 commits into from

Conversation

jkeenan
Copy link
Collaborator

@jkeenan jkeenan commented Apr 30, 2021

Add envvar NYTPROF_AUTHOR_TESTING. 'make test_author' and 'make atest'
will set this envvar true, thereby causing certain unit tests within the
test suite and/or test files to run only when needed by NYTProf
developers.

Accordingly, move 90-pod.t back into t/ from xt/, but have this run only
when NYTPROF_AUTHOR_TESTING is set.

This should have a favorable impact on
#174.

@jkeenan
Copy link
Collaborator Author

jkeenan commented Apr 30, 2021

I had hoped to have Travis and AppVeyor run 'make test_author' but have not yet figured out how to update the configuration files. So that will be handled in a separate pull request.

Add envvar NYTPROF_AUTHOR_TESTING.  'make test_author' and 'make atest'
will set this envvar true, thereby causing certain unit tests within the
test suite and/or test files to run only when needed by NYTProf
developers.

Accordingly, move 90-pod.t back into t/ from xt/, but have this run only
when NYTPROF_AUTHOR_TESTING is set.

This should have a favorable impact on
timbunce#174.
These 2 NYTPROF_* targets don't need to be defined outside the scope of
a particular 'make' target.  Defining them may interfere with, e.g.,
.appveyor.yml.
@jkeenan jkeenan closed this May 2, 2021
@jkeenan jkeenan deleted the author-testing-20210430 branch May 2, 2021 15:58
@jkeenan
Copy link
Collaborator Author

jkeenan commented May 2, 2021

Merged into master in commit 3864290

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

Successfully merging this pull request may close these issues.

2 participants