1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source3/script/tests/test_tevent_glib_glue.sh
Ralph Boehme 1f836d4c7f s3/lib: add a tevent_glib_glue subsystem test
Tests adapted from glib2 glib/tests/mainloop.c.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
2019-04-24 18:32:14 +00:00

22 lines
401 B
Bash
Executable File

#!/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