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 from scons #18

Merged
merged 4 commits into from Aug 8, 2017

Conversation

timj
Copy link
Member

@timj timj commented Aug 8, 2017

  • Ignore the pybind11 python file when testing.
  • Rename tests following new standard
  • Remove executable bit.

@timj timj requested a review from pschella August 8, 2017 15:35
Copy link
Contributor

@SimonKrughoff SimonKrughoff left a comment

Choose a reason for hiding this comment

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

Looks fine.

@@ -1,4 +1,5 @@
# -*- python -*-
from lsst.sconsUtils import scripts
scripts.BasicSConscript.pybind11(['testLib'])
scripts.BasicSConscript.tests(noBuildList=['testLib.cc'])
Copy link
Contributor

Choose a reason for hiding this comment

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

How did this work before? It seems like it would have always failed if the library is not built.

Copy link
Member Author

Choose a reason for hiding this comment

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

Pybind11 now builds it, so it needs to be disabled from the list of things that the test system has to build.

@timj timj merged commit 520d906 into master Aug 8, 2017
@ktlim ktlim deleted the tickets/DM-11514-pex-config branch August 25, 2018 05: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
Development

Successfully merging this pull request may close these issues.

None yet

2 participants