On 7 November 2016 at 10:49, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
> Turn on linux-generic dpdk and pcap pktios with their validation
> tests.
>
> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>

Reviewed-by: Mike Holmes <mike.hol...@linaro.org>

We need to make this complete and add netmap pktio to cover all the
possibilities
We could also do with a matrix to cover the different schedulers possibly.


> ---
>  .travis.yml | 22 ++++++++++++++++++----
>  1 file changed, 18 insertions(+), 4 deletions(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index 0d1add3..1092cd0 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -11,6 +11,7 @@ sudo: required
>  before_install:
>          - sudo apt-get -qq update
>          - sudo apt-get install automake autoconf libtool libssl-dev graphviz 
> mscgen doxygen
> +        - sudo apt-get install libpcap-dev linux-headers-`uname -r`
>          - gem install asciidoctor
>
>  #       Install cunit for the validation tests because distro version is too 
> old and fails C99 compile
> @@ -24,12 +25,25 @@ before_install:
>          - sudo make install
>          - cd ..
>          - export LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
> -
> -install:
> -        - ./bootstrap
> +#      DPDK pktio
> +        - TARGET=${TARGET:-"x86_64-native-linuxapp-gcc"}
> +        - git clone http://dpdk.org/git/dpdk dpdk
> +        - pushd dpdk
> +        - git checkout -b bv16.07 v16.07
> +        - make config T=${TARGET} O=${TARGET}
> +        - pushd ${TARGET}
> +        - sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config
> +        - popd
> +        - make install T=${TARGET} EXTRA_CFLAGS="-fPIC"
> +        - popd
>
>  script:
> -        - ./configure --enable-test-cpp --enable-test-vald 
> --enable-test-helper --enable-test-perf --enable-user-guides 
> --enable-test-perf-proc --enable-test-example
> +
> +        - ./bootstrap
> +        - ./configure --enable-test-cpp --enable-test-vald 
> --enable-test-helper --enable-test-perf --enable-user-guides 
> --enable-test-perf-proc --enable-test-example 
> --with-dpdk-path=`pwd`/dpdk/${TARGET}
>          - make check
> +        - git clean -f -d -x && rm -rf dpdk
> +        - ./bootstrap
> +        - ./configure
>          - make doxygen-doc
>          - make distcheck
> --
> 2.7.1.250.gff4ea60
>



-- 
Mike Holmes
Program Manager - Linaro Networking Group
Linaro.org │ Open source software for ARM SoCs
"Work should be fun and collaborative, the rest follows"

Reply via email to