[pygr-notify] Issue 69 in pygr: Make megatests more portable

codesite-noreply at google.com codesite-noreply at google.com
Tue Feb 17 12:36:07 PST 2009


Status: Started
Owner: marecki
CC: deepreds
Labels: Type-Defect Priority-Medium

New issue 69 by marecki: Make megatests more portable
http://code.google.com/p/pygr/issues/detail?id=69

Megatests in their present form aren't exactly portable, as both the
runner script and megatests proper contain hardcoded paths. They need to
be generalised.


Attached you will find the first batch of results on the subject.
Changes:

1. The runner script has now got paths declared as variables at the
beginning, uses PATH rather than explicit paths to control where the
executables are to come from, builds Pygr's PYTHONPATH automatically and
has generally been cleaned up;

2. All hardcoded paths have been moved from megatest scripts to a config
file, which is parsed using the ConfigParser module. An example config,
containing paths exactly as extracted from scripts, has been provided;

3. Switching between small and full megatests can now be done by setting
(or for the full test, unsetting) the "smallSampleKey" keywords in
appropriate sections of the config file.


Outstanding issues:

1. Clean up send_megatest_email.py - or even better, merge it with the
testing framework;
2. Test all the changes.


Attachments:
	run_megatests  1.7 KB
	megatests-portablePaths.patch  31.8 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings



More information about the pygr-notify mailing list