You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
Travis fixes:
server verification still fails due to wrong hostname - these tests are now disabled for Travis only Disable test when testing against a MySQL server.
This commit is contained in:
@@ -66,6 +66,20 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
/* prevent warnings on Win64 by using STMT_LEN instead of strlen */
|
||||
#define STMT_LEN(A) (unsigned long)strlen((A))
|
||||
|
||||
#define SKIP_TRAVIS()\
|
||||
if (getenv("TRAVIS"))\
|
||||
{\
|
||||
diag("Skip test on Travis CI");\
|
||||
return SKIP;\
|
||||
}
|
||||
|
||||
#define SKIP_MYSQL(mysql)\
|
||||
if (!mariadb_connection(mysql))
|
||||
{
|
||||
diag("Skip test for non MariaDB server");
|
||||
return OK;
|
||||
}
|
||||
|
||||
#define check_mysql_rc(rc, mysql) \
|
||||
if (rc)\
|
||||
{\
|
||||
|
Reference in New Issue
Block a user