Josh Elser created SLIDER-1039: ---------------------------------- Summary: Run slider-agent (py)tests from target directory not src directory Key: SLIDER-1039 URL: https://issues.apache.org/jira/browse/SLIDER-1039 Project: Slider Issue Type: Improvement Components: build Reporter: Josh Elser Assignee: Josh Elser Fix For: Slider 0.91
I had to -1 the slider-0.90.2-incubating RC0 build because I saw a bunch of pyc files in the source archive. Upon investigation on how these got there, it seems like the pytests that we run for the slider-agent module are invoked inside the src/ directory. We should really follow the same approach that is done for the Java files: * Compilation from src into target (just a copy for python) * Invocation of tests from inside target This should net us two things: * A build does not dirty the workspace (lots of ways this is good) * We can remove the {{*.pyc}} entry from {{.gitignore}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)