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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux