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

DM-11514: Fix pytest execution #89

Merged
merged 4 commits into from Aug 9, 2017
Merged

DM-11514: Fix pytest execution #89

merged 4 commits into from Aug 9, 2017

Conversation

timj
Copy link
Member

@timj timj commented Aug 8, 2017

  • Ignore non-test python files.
  • Correct name for setup_module.
  • Also rename test files.

@timj timj requested a review from kfindeisen August 8, 2017 21:41
Copy link
Member

@kfindeisen kfindeisen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, all test_ files are real tests and vice versa. One minor style comment.

Should I mark anything on Jira? This doesn't seem to be the standard review process...

tests/SConscript Outdated

scripts.BasicSConscript.pybind11(pybind11_test_modules)
scripts.BasicSConscript.tests(noBuildList=[name + '.cc' for name in pybind11_test_modules])
scripts.BasicSConscript.tests(noBuildList=[name + '.cc' for name in pybind11_test_modules],
ignoreList=ignoreList)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps make the code more symmetric, so it's easier to read?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean move the noBuildList list building outside? Ok.

@timj
Copy link
Member Author

timj commented Aug 8, 2017

I'll annotate jira. The problem is the work on the ticket has not yet finished (sconsUtils) but the work like this can be merged early.

@timj timj force-pushed the tickets/DM-11514-meas_base branch from 6969949 to 1d4a97a Compare August 8, 2017 23:49
@timj timj merged commit 2b73ae2 into master Aug 9, 2017
@ktlim ktlim deleted the tickets/DM-11514-meas_base branch August 25, 2018 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants