Browse code

falco spec was modified for makecheck

Change-Id: If033639747d679a0dbcecae8a7b47697b166cdfd
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1575
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sarah Choi <sarahc@vmware.com>

Chang authored on 2016/10/27 06:37:47
Showing 2 changed files
... ...
@@ -49,6 +49,15 @@ make KERNELDIR="/lib/modules/%{KERNEL_VERSION}/build"
49 49
 %install
50 50
 make install KERNELDIR="/lib/modules/%{KERNEL_VERSION}/build" DESTDIR=%{buildroot}
51 51
 
52
+%check
53
+easy_install pip
54
+pip install avocado-framework
55
+wget http://stedolan.github.io/jq/download/linux64/jq
56
+chmod +x ./jq
57
+cp jq /usr/bin
58
+pip install -r https://raw.githubusercontent.com/avocado-framework/avocado/master/requirements.txt
59
+test/run_regression_tests.sh
60
+
52 61
 %clean
53 62
 rm -rf %{buildroot}/*
54 63
 
... ...
@@ -291,7 +291,8 @@ class constants(object):
291 291
         "libacl",
292 292
         "tzdata",
293 293
         "libgcrypt-devel",
294
-        "Linux-PAM"]
294
+        "Linux-PAM",
295
+        "unzip"]
295 296
 
296 297
     @staticmethod
297 298
     def initialize(options):