test suite

Simon McVittie smcv at debian.org
Fri Jan 16 10:34:18 UTC 2015


On 16/01/15 09:50, Alexandre Detiste wrote:
> In my tree I've modified "def choose_mirror(self, wanted):" to make
> it prepend the content of MIRROR to the mirror list;
> a test suite would just "export MIRROR=localhost" and try
> to package every demo.

Nice idea! I changed it to GDP_MIRROR (I don't like non-namespaced
environment variables) and added support for GDP_MIRROR=file:///tmp/gdp
or GDP_MIRROR=/tmp/gdp (Python's download library has full support for
file: URIs so it's trivial to avoid needing a web server).

    S




More information about the Pkg-games-devel mailing list