aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/neon/neon/run-ptest
blob: 602084a52c1b2b87bb30153b7c323f5d8c2e47bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/sh

set -eux

rm -f debug.log child.log

ulimit -c unlimited
ulimit -t 120

cd test
echo foobar > foobar.txt

BASIC_TESTS="auth basic redirect request session socket string-tests \
             stubs uri-tests util-tests"
DAV_TESTS="acl3744 lock oldacl props xml xmlreq"
for t in $BASIC_TESTS $DAV_TESTS
do
    echo "Running $t..."
    if "./$t"
    then
        echo "PASS:$t"
    else
        echo "FAIL:$t"
    fi
done