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