@@ -256,7 +256,14 @@ jobs:
- ODP_PATCHES=`echo ${TRAVIS_COMMIT_RANGE} | sed 's/\.//'`;
- if [ -z "${ODP_PATCHES}" ]; then env; exit 1; fi;
- ./scripts/ci-checkpatches.sh ${ODP_PATCHES};
-
+ - stage: test
+ env: TEST=linux-dpdk
+ compiler: gcc
+ script:
+ - ./bootstrap
+ - ./configure --with-platform=linux-dpdk --enable-test-cpp --enable-test-vald --enable-test-helper --enable-test-perf --enable-user-guides --enable-test-perf-proc --enable-test-example --with-sdk-install-path=`pwd`/dpdk/${TARGET} --with-cunit-path=$HOME/cunit-install/$CROSS_ARCH $CONF
+ - make -j $(nproc)
+ - sudo LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" make check
after_failure:
- cat config.log
- find . -name 'test-suite.log' -execdir grep -il "FAILED" {} \; -exec echo {} \; -exec cat {} \;
@@ -62,11 +62,11 @@ fi
echo "running $1!"
if [ ${1: -3} == ".sh" ]
then
- sudo TEST_DIR=${TEST_DIR} \
+ TEST_DIR=${TEST_DIR} \
ODP_PLATFORM_PARAMS="$ODP_PLATFORM_PARAMS" \
ODP_GDB=$ODP_GDB $1
else
- sudo TEST_DIR=${TEST_DIR} ODP_PLATFORM_PARAMS="$ODP_PLATFORM_PARAMS" \
+ TEST_DIR=${TEST_DIR} ODP_PLATFORM_PARAMS="$ODP_PLATFORM_PARAMS" \
$ODP_GDB $1
fi
res=$?