Skip to content

Conversation

@joshmoore
Copy link
Member

This is the same as gh-941 but rebased onto dev_4_4.


Changes for activating Python tests within .travis.yml. Primarily tests have been removed or fixed, though the use of OMERODIR in src/omero/cli.py was required for some tests. All tests pass locally, though some are still failing on travis. Opening PR to prevent conflicts in the test classes in other PRs.

Either due to the recent specification cleanup or due to
changes on travis-ci.org itself, the build is now passing.
Previous build with multiple TESTBUILD files
failed with out of space and other errors. Until
the build can be sped up and simplified, a simple
compile test (and for Python, unit tests) probably
suffices.
The move to argparse made many of the clitests unnecessary
since we no longer have our own `Arguments` class, or use
the `_likes()` method.
The ctx field for plugins was making undue use of the
OMERODIR global variable. These have been replaced by
a call to `_cwd(None)` which internally uses `self.dir`
which is usually initialized with `OMERODIR`. This makes
it possible to "re-home" a test.

With this change and the minor fixes to clitest/db.py
all of db.py is now passing.
Not using unittest.main() was causing sys.exit
not to be properly called on failures. Now a
helper method is available in xmlrunner.main
to "do the right thing".
@sbesson
Copy link
Member

sbesson commented Mar 26, 2013

👍 Once @hflynn is happy with the Readme, I say ready to merge.

@hflynn
Copy link
Contributor

hflynn commented Mar 26, 2013

The Readme is fine for now, go ahead and merge.

@joshmoore
Copy link
Member Author

@jburel: nothing more from me if you're ok with merging.

jburel added a commit that referenced this pull request Mar 26, 2013
…velop

.travis.yml (take 2) and test fixes (rebased onto dev_4_4)
@jburel jburel merged commit cb341d8 into ome:dev_4_4 Mar 26, 2013
@joshmoore joshmoore deleted the rebased/dev_4_4/travis-yml2-develop branch March 26, 2013 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants