mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
1f836d4c7f
Tests adapted from glib2 glib/tests/mainloop.c. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Noel Power <npower@samba.org>
22 lines
401 B
Bash
Executable File
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
|