[pkg-perl-tools] 01/01: Evaluate skip list a second time after smoke-setup has been run

Axel Beckert abe at deuxchevaux.org
Thu Apr 21 21:46:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository pkg-perl-tools.

commit 04d6ba22e2076988afafb257caf28694378b0827
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Thu Apr 21 23:44:34 2016 +0200

    Evaluate skip list a second time after smoke-setup has been run
    
    smoke-setup might have generated some of the to-be-skipped files.
---
 autopkgtest/scripts/build-deps.d/smoke | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/autopkgtest/scripts/build-deps.d/smoke b/autopkgtest/scripts/build-deps.d/smoke
index f21e8c4..fe6ab65 100755
--- a/autopkgtest/scripts/build-deps.d/smoke
+++ b/autopkgtest/scripts/build-deps.d/smoke
@@ -115,6 +115,14 @@ setup_file=debian/tests/pkg-perl/smoke-setup
 if [ -x $setup_file ]
 then
     ( export TDIR; $setup_file )
+
+    # Evaluate skip list a second time since smoke-setup might have
+    # generated some of the to-be-skipped files.
+    if [ -r $skip_list ]; then
+        egrep -v '^ *(#|$)' $skip_list | while read file; do
+            rm -f $TDIR/$file
+        done
+    fi
 fi
 
 tests_file=$(pwd)/debian/tests/pkg-perl/smoke-tests

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-perl-tools.git



More information about the Pkg-perl-cvs-commits mailing list