[libvirt] [PATCH] travis: add a scenario for running make distcheck

Daniel P. Berrangé posted 1 patch 6 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180222161356.17234-1-berrange@redhat.com
Test syntax-check passed
.travis.yml | 5 +++++
1 file changed, 5 insertions(+)
[libvirt] [PATCH] travis: add a scenario for running make distcheck
Posted by Daniel P. Berrangé 6 years, 2 months ago
Running "make distcheck" ensures that we have CLEANFILES and uninstall
rules setup correctly, as well as validating VPATH builds succeeed.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
 .travis.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 3f26a1eeee..4bdf034829 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,8 +6,13 @@ matrix:
   include:
     - compiler: gcc
       dist: precise
+    # Special scenario to run distcheck, so we don't waste time duplicating
+    # work in all the other scenarios. Doesn't work on precise due to the
+    # CVE-2012-3386 flaw being present on that Ubuntu version
     - compiler: gcc
       dist: trusty
+      script:
+      - make -j3 distcheck
     - compiler: clang
       dist: precise
     - compiler: clang
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH] travis: add a scenario for running make distcheck
Posted by Michal Privoznik 6 years, 1 month ago
On 02/22/2018 05:13 PM, Daniel P. Berrangé wrote:
> Running "make distcheck" ensures that we have CLEANFILES and uninstall
> rules setup correctly, as well as validating VPATH builds succeeed.
> 
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
>  .travis.yml | 5 +++++
>  1 file changed, 5 insertions(+)

ACK.

Michal

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