Skip to content

Commit

Permalink
travis: add test cases for optional schedulers
Browse files Browse the repository at this point in the history
Added separate tests for schedulers, so that those can be
executed in parallel. Schedulers are tested with default
compiler flags. Previously, optional schedulers were tested
only without compiler optimizations (-O0) in coverage test.

Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
Reviewed-by:  Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
  • Loading branch information
Petri Savolainen authored and muvarov committed Oct 22, 2018
1 parent 8c72eb4 commit 3cae562
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Expand Up @@ -98,6 +98,28 @@ script:
fi
jobs:
include:
- stage: test
env: TEST=scheduler_sp
compiler: gcc
script:
- if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi
- docker run --privileged -i -t
-v `pwd`:/odp --shm-size 8g
-e CC="${CC}"
-e CONF=""
-e ODP_SCHEDULER=sp
${DOCKER_NAMESPACE}/travis-odp-lng-ubuntu_16.04 /odp/scripts/ci/check.sh
- stage: test
env: TEST=scheduler_scalable
compiler: gcc
script:
- if [ -z "${DOCKER_NAMESPACE}" ] ; then export DOCKER_NAMESPACE="opendataplane"; fi
- docker run --privileged -i -t
-v `pwd`:/odp --shm-size 8g
-e CC="${CC}"
-e CONF=""
-e ODP_SCHEDULER=scalable
${DOCKER_NAMESPACE}/travis-odp-lng-ubuntu_16.04 /odp/scripts/ci/check.sh
- stage: test
env: TEST=process_mode
install:
Expand Down

0 comments on commit 3cae562

Please sign in to comment.