On Thu, 2010-08-19 at 14:58 -0400, James Laska wrote:
On Wed, 2010-08-18 at 14:40 +0200, Vojtěch Aschenbrenner wrote:
Hello,
I created new test for AutoQA named 'upgradepath'. It will check if package which you want to push into repository has correct version. Also there will be warning if you're pushing into stable repo or pushing older or the same version of package. Requests for comments :-).
I was interested in testing out just the upgrade-path portion of the test (not the autotest/autoqa integration). How would you feel about moving the test to a stand-alone script, and then changing upgradepath.py to call the stand-alone script and process output?
I think this would make it a lot easier for folks without a full autoqa and autotest-server setup to run the test at home.
I agree with James here - it's best if we can run the tests outside of AutoQA, both for debugging purposes and so we can extend/reuse test code elsewhere.
This is how most of the other tests operate, so you can look at (for example) the 'conflicts' or 'rats_sanity' test to see how that usually works.
Hope that helps,
-w