]> git.proxmox.com Git - ovs.git/commitdiff
cirrus: Enable tests on FreeBSD.
authorIlya Maximets <i.maximets@samsung.com>
Wed, 26 Dec 2018 15:24:00 +0000 (18:24 +0300)
committerBen Pfaff <blp@ovn.org>
Thu, 27 Dec 2018 17:39:11 +0000 (09:39 -0800)
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 <i.maximets@samsung.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
.cirrus.yml

index 4902fd370d96a0f6010a7846547ea500ce148dbc..0b012ca8416ae40a3aef1ba2061d65e2454f1ba8 100644 (file)
@@ -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; }