summaryrefslogtreecommitdiffstats
path: root/source3/script/tests/test_tevent_glib_glue.sh
blob: fa1d1055825cd3724a7c688af68a9c5392e37aa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

incdir=$(dirname $0)/../../../testprogs/blackbox
. $incdir/subunit.sh

failed=0
TESTNAME="tevent_glib_glue_test"

if [ ! -x $BINDIR/tevent_glib_glue_test ]; then
	subunit_start_test "$TESTNAME"
	subunit_skip_test "$TESTNAME" <<EOF
Test needs glib2-devel
EOF
	testok $0 $failed
fi

testit "$TESTNAME" $VALGRIND $BINDIR/tevent_glib_glue_test ||
	failed=$(expr $failed + 1)

testok $0 $failed