Sha256: 6bb179ef0360d1ac01b6ad6849901d9bd7e26f31b6e7fb942d1b1b844ea2cebe

Contents?: true

Size: 358 Bytes

Versions: 27

Compression:

Stored size: 358 Bytes

Contents

#!/bin/sh

echo Running api tests:

tests=0
passed=0

for file in `ls`; do
    [ ! -x $file -o -d $file ] && continue
    tests=`expr 1 + $tests`
    printf " test(%s): " $file
    ./$file
    if [ $? ]; then
        passed=`expr 1 + $passed`
        echo 'SUCCESS'
    else
        echo 'FAILURE'
    fi
done

echo "$passed/$tests tests successful"

exit 0

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
libyajl2-2.1.0 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-2.0.0 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-1.2.0 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-1.1.0 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-1.0.1 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.18 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.17 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.16 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.15 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.14 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.13 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.12 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.11 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.10 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.9 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.8 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.7 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.6 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.5 ext/libyajl2/vendor/yajl/test/api/run_tests.sh
libyajl2-0.1.4 ext/libyajl2/vendor/yajl/test/api/run_tests.sh