[Gluster-devel] regressions on release-3.7 ?

Emmanuel Dreyfus manu at netbsd.org
Tue Apr 21 04:26:35 UTC 2015


Vijay Bellur <vbellur at redhat.com> wrote:

> Another option would be to maintain a file with this list in the tests
> directory. run-tests.sh can lookup this file to determine whether it 
> should continue or bail out.

NetBSD's /opt/qa/regression.sh does this:

# Disable always-failing cases
for i in ./tests/basic/afr/split-brain-resolution.t     \
         ./tests/basic/quota-anon-fd-nfs.t              \
         ./tests/basic/mgmt_v3-locks.t                  \
         ./tests/basic/tier/tier.t                      \
         ./tests/features/trash.t ; do                  \
    mkdir -p $( dirname $i )
    {
        depth=$( echo $i | sed 's|[^/]||g; s|//||; s|/|../|g' )
        echo '#!/bin/bash' 
        echo '. $(dirname $0)/'${depth}'include.rc || '
        echo 'echo "Skip test that always fail on NetBSD (yet)" >&2' 
        echo 'SKIP_TESTS' 
        echo 'exit 0' 
    } > $i 
    chmod 755 $i 
    chown -R jenkins $( dirname $i )
done 

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org


More information about the Gluster-devel mailing list