From c64795a41d3fd0ff55de9c4302950df186889d6b Mon Sep 17 00:00:00 2001 From: Ilya Maximets Date: Wed, 26 Dec 2018 18:24:00 +0300 Subject: cirrus: Enable tests on FreeBSD. Since all the tests fixed to work properly on FreeBSD we could enable running of the testsuite. + minor refactoring of the yml file. Signed-off-by: Ilya Maximets Signed-off-by: Ben Pfaff --- .cirrus.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index 4902fd370..0b012ca84 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -8,23 +8,23 @@ freebsd_build_task: memory: 8G env: + DEPENDENCIES: automake libtool gmake gcc wget + python py27-six py27-sphinx matrix: COMPILER: gcc COMPILER: clang prepare_script: - - pkg install -y automake libtool gmake gcc wget - python py27-six py27-sphinx + - pkg install -y ${DEPENDENCIES} configure_script: - ./boot.sh - - ./configure CC=$COMPILER MAKE=gmake OVS_CFLAGS='-Wall' --enable-Werror + - ./configure CC=${COMPILER} MAKE=gmake OVS_CFLAGS='-Wall' --enable-Werror || { cat config.log; exit 1; } build_script: - gmake -j8 -# TODO(i.maximets): Uncomment the test suite execution when it is fixed. -# check_script: -# - gmake -j8 check TESTSUITEFLAGS=-j8 RECHECK=yes -# || { cat ./tests/testsuite.log; exit 1; } + check_script: + - gmake -j8 check TESTSUITEFLAGS=-j8 RECHECK=yes + || { cat ./tests/testsuite.log; exit 1; } -- cgit v1.2.1