This provides runtime test coverage in Travis, in addition to the existing
build coverage.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Roger Meier <r.meier@siemens.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Acked-by: Simon Glass <sjg@chromium.org>
- bc
- build-essential
- libsdl1.2-dev
+ - python
+ - python-virtualenv
cache:
- apt
- echo -e "\n\n[toolchain-alias]\n${BUILDMAN_ALIAS} i386\n" >> ~/.buildman
- echo -e "${BUILDMAN_ALIAS_ARM} armv5te\n" >> ~/.buildman
- cat ~/.buildman
+ - virtualenv /tmp/venv
+ - . /tmp/venv/bin/activate
+ - pip install pytest
env:
global:
# some statistics about the code base
- env:
- TEST_CMD="sloccount ."
+ # test/py
+ - env:
+ - TEST_CMD="./test/py/test.py --bd sandbox --build"
# TODO make it perfect ;-r