[libvirt] [jenkins-ci PATCH v2 3/4] projects: Set $OSINFO_SYSTEM_DIR in check_env

Andrea Bolognani abologna at redhat.com
Fri Oct 27 12:43:29 UTC 2017


This environment variable is only used when running the test suite,
so we can move it from make_env to check_env: doing so allows us to
remove duplicated code used to set $MAKE in the libosinfo project.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 projects/libosinfo.yaml | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/projects/libosinfo.yaml b/projects/libosinfo.yaml
index 77c0414..b11ab13 100644
--- a/projects/libosinfo.yaml
+++ b/projects/libosinfo.yaml
@@ -7,12 +7,7 @@
       - libvirt-fedora-26
       - libvirt-fedora-rawhide
     title: libosinfo
-    make_env: |
-      MAKE='make'
-      unamestr=`uname`
-      if [ "$unamestr" = 'FreeBSD' ]; then
-          MAKE='gmake'
-      fi
+    check_env: |
       export OSINFO_SYSTEM_DIR=$VIRT_PREFIX/share/osinfo
     jobs:
       - autotools-build-job:
-- 
2.13.6




More information about the libvir-list mailing list