travis specific fixed

This commit is contained in:
Willem Toorop 2017-09-14 16:32:53 +02:00
parent 57e6487d76
commit e6051976dd
2 changed files with 7 additions and 1 deletions

View File

@ -850,7 +850,7 @@ static inline const char * rt_str(uint16_t rt)
static int tas_busy(tas_connection *a)
{
return a->req != NULL;
return a && a->req != NULL;
}
static int tas_fetching(tas_connection *a)
@ -982,6 +982,7 @@ static void tas_doc_read(getdns_context *context, tas_connection *a)
(int)a->tcp.read_buf_len, (char *)a->tcp.read_buf);
assert(a->tcp.read_pos == a->tcp.read_buf + a->tcp.read_buf_len);
assert(context);
if (a->state == TAS_READ_XML_DOC) {
if (a->xml.data)

View File

@ -15,6 +15,11 @@ find . -type f -name "Makefile.in" -print0 | xargs -0 rm -f && (
)
(
cd "${BUILDDIR}/build-event-loops"
if test "`hostname`" != "bonobo"
then
echo Sorry, running dependency test on bonobo only
exit 0
fi
if ! ./config.status --config | grep -q 'enable-all-drafts.*--with-libevent.*--with-libev.*--with-libuv'
then
echo Skipping because not covering enough code