Hi Milo, Very nice progress here! I have some comments below to help improving it. review needs-fixing Also I wonder whether we should merge my branch into trunk already so you don't keep developing off the official places ... it's not like there will be a release before this work is done with. > === modified file '.bzrignore' > --- .bzrignore 2013-06-10 15:38:27 +0000 > +++ .bzrignore 2013-06-10 15:38:27 +0000 > @@ -3,3 +3,6 @@ > ./build > ./dist > /tags > +.testrepository > +*.egg > +ci-build-venv you won't need the last one anymore. > === added file '.testr.conf' > --- .testr.conf 1970-01-01 00:00:00 +0000 > +++ .testr.conf 2013-06-10 15:38:27 +0000 > @@ -0,0 +1,3 @@ > +[DEFAULT] > +test_command=python -m subunit.run $IDLIST > +test_id_list_default=lava_tool.tests.test_suite > > === modified file 'ci-build' > --- ci-build 2013-06-10 15:38:27 +0000 > +++ ci-build 2013-06-10 15:38:27 +0000 > @@ -1,11 +1,13 @@ > #!/bin/sh > > +VENV_DIR="/tmp/ci-build-venv" > + > set -e > > if test -z "$VIRTUAL_ENV"; then > set -x > - virtualenv ci-build-venv > - . ci-build-venv/bin/activate > + virtualenv $VENV_DIR > + . $VENV_DIR/bin/activate > python setup.py develop > fi > > @@ -21,6 +23,22 @@ > pip install mocker > fi > > +if ! pip show pep8 | grep -q pep8; then > + pip install pep8 > +fi > + > +if ! pip show pyflakes | grep -q pyflakes; then > + pip install pyflakes > +fi > + > +if ! pip show testtools | grep -q testtools; then > + pip install testtools > +fi > + > +if ! pip show mock | grep -q mock; then > + pip install mock > +fi > + > export LAVACONFIG=/dev/null > > if test -z "$DISPLAY"; then > if you dropped pyflakes/pep8 tests there is no point in installing them here. > === added directory 'lava/device' > === added file 'lava/device/__init__.py' > --- lava/device/__init__.py 1970-01-01 00:00:00 +0000 > +++ lava/device/__init__.py 2013-06-10 15:38:27 +0000 > @@ -0,0 +1,112 @@ > +# Copyright (C) 2013 Linaro Limited > +# > +# Author: Milo Casagrande