-
Notifications
You must be signed in to change notification settings - Fork 295
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
Feature/package tests #451
Conversation
This will eventually address #220 |
Works for me. After install run: |
|
test this please |
Ready for review and merging @ctb @luizirber @camillescott |
@@ -45,7 +45,8 @@ fi | |||
if type hg >/dev/null 2>&1 | |||
then | |||
rm -Rf sphinx-contrib | |||
hg clone http://bitbucket.org/mcrusoe/sphinx-contrib | |||
#hg clone http://bitbucket.org/mcrusoe/sphinx-contrib | |||
hg clone http://athyra.ged.msu.edu/~mcrusoe/sphinx-contrib |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, many jobs have been dying due to bitbucket's lack of uptime.
On Tue, Jun 10, 2014 at 3:34 PM, C. Titus Brown notifications@github.com
wrote:
In jenkins-build.sh:
@@ -45,7 +45,8 @@ fi
if type hg >/dev/null 2>&1
then
rm -Rf sphinx-contribIs this intentional?
—
Reply to this email directly or view it on GitHub
https://github.com/ged-lab/khmer/pull/451/files#r13614226.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Tue, Jun 10, 2014 at 12:40:26PM -0700, Michael R. Crusoe wrote:
@@ -45,7 +45,8 @@ fi
if type hg >/dev/null 2>&1
then
rm -Rf sphinx-contribYes, many jobs have been dying due to bitbucket's lack of uptime.
Hmm, OK, I suppose it's ok to rely on athyra then...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The real solution is to clean up my additions to autoprogram:
https://bitbucket.org/birkenfeld/sphinx-contrib/pull-request/59/enhance-autoprogram-include-usage-summary/diff#comment-1610430
On Tue, Jun 10, 2014 at 3:41 PM, C. Titus Brown notifications@github.com
wrote:
In jenkins-build.sh:
@@ -45,7 +45,8 @@ fi
if type hg >/dev/null 2>&1
then
rm -Rf sphinx-contribOn Tue, Jun 10, 2014 at 12:40:26PM -0700, Michael R. Crusoe wrote: > @@
-45,7 +45,8 @@ fi > if type hg >/dev/null 2>&1 > then > rm -Rf
sphinx-contrib > - hg clone http://bitbucket.org/mcrusoe/sphinx-contrib >
- #hg clone http://bitbucket.org/mcrusoe/sphinx-contrib > + hg clone
http://athyra.ged.msu.edu/~mcrusoe/sphinx-contrib Yes, many jobs have
been dying due to bitbucket's lack of uptime.
Hmm, OK, I suppose it's ok to rely on athyra then...—
Reply to this email directly or view it on GitHub
https://github.com/ged-lab/khmer/pull/451/files#r13614549.
I dislike the demotion of tests/ to khmer/tests/ in the directory hierarchy. Is there no way to avoid this? |
It needs to be inside the khmer namespace as it gets installed into On Tue, Jun 10, 2014 at 3:36 PM, C. Titus Brown notifications@github.com
|
See 'package_dir', https://docs.python.org/2/distutils/setupscript.html, and #467. |
test this please |
Failing because I added additional error checking without unit tests! |
This is ready for review and merging @ctb @luizirber @camillescott |
Remaining issue -- 'make test' recompiles zlib (but not bzip2) - could you fix, please? Also, when I install in a virtualenv on athyra and run the tests:
I get a number of failures with "No module named screed", even though screed is installed. Any ideas? Also, I can't seem to run just 'nosetests khmer', as in http://scikit-learn.org/stable/install.html#testing. Thoughts? Finally, could you enable 'import khmer; khmer.test()'? Thanks! |
My testing regime
|
On Fri, Jun 13, 2014 at 7:12 AM, C. Titus Brown notifications@github.com
As documented in my previous comment, nosetests khmer --attr
Why? Scikit removed their equivalent.
|
test this please |
test this please |
add target for python test coverage text report; clarified where the HTML report is Added additional tests remove unused code as per #441 (comment) remove scripts that used CountingHash::max_hamming1_count Document code & sandbox script removal
Including a couple notable memory leaks!
OK, it all works for me. Merging! |
Work in progress
Includes the beginnings of a unification of the various custom C++ exception classes