MiGrid workspace where master branch is kept strictly in sync with SF upstream svn repo. Any development or experiments should use a branch. You probably want to fork your own clone or work e.g. on the edge branch if you wish to contribute.
GNU General Public License v2.0
4
stars
4
forks
source link
Rework python version handling associated testconfig path handling. #134
A previous revision fixed an immediate problem with test path handling
but knowingly left some things on the table - in particular a split
between container based handling of Python 2 and the local execution
of Python 3 (meaning a potentially inconsistent version relative to
what the project considers officially supported).
Address this entirely: rework the default behaviour of make test to
container based execution and use a consistent baseline Python 3.
In order to continue to support rapid local iteration, provide a
separate make unittest target which will execute the test suite
locally and is also used as a mechanism to run other supporting tools.
The clean use of containers necessitated various changes that make path
arguments within the testconfig non-overlapping and better isolated.
Adjust all paths generated within the test suite to be always from the
base root instead of relative the output directory. Opt to patch the
makeconfig generator rather than fiddle with generateconfs again.
While here also add support for an environment variable override that
allows execution of the test suite against arbitrary python 3 versions.
A previous revision fixed an immediate problem with test path handling but knowingly left some things on the table - in particular a split between container based handling of Python 2 and the local execution of Python 3 (meaning a potentially inconsistent version relative to what the project considers officially supported).
Address this entirely: rework the default behaviour of
make test
to container based execution and use a consistent baseline Python 3.In order to continue to support rapid local iteration, provide a separate
make unittest
target which will execute the test suite locally and is also used as a mechanism to run other supporting tools.The clean use of containers necessitated various changes that make path arguments within the testconfig non-overlapping and better isolated. Adjust all paths generated within the test suite to be always from the base root instead of relative the output directory. Opt to patch the makeconfig generator rather than fiddle with generateconfs again.
While here also add support for an environment variable override that allows execution of the test suite against arbitrary python 3 versions.