summaryrefslogtreecommitdiff
path: root/tests/mysql_client_test.c
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2021-09-04 20:24:37 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2021-09-06 13:55:14 +0200
commit16131a7e46bb6c120b4e0ddb27b03c0bb7164928 (patch)
tree85b142324abee6942830473b5a90e7ac42fd7d2b /tests/mysql_client_test.c
parent2e39987fda252b2686146301509ee15d132fb3e6 (diff)
downloadmariadb-git-16131a7e46bb6c120b4e0ddb27b03c0bb7164928.tar.gz
MDEV-26527 speedup appveyor build
Allow mysql_client_test to execute even if server/client auth plugins are not built. There is a single small test that requires qa_auth_client.
Diffstat (limited to 'tests/mysql_client_test.c')
-rw-r--r--tests/mysql_client_test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 9c18667614b..8f4e2b2fdad 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -19203,6 +19203,9 @@ static void test_bug11766854()
struct st_mysql_client_plugin *plugin;
DBUG_ENTER("test_bug11766854");
+ if (!getenv("QA_AUTH_CLIENT_SO"))
+ DBUG_VOID_RETURN;
+
myheader("test_bug11766854");
plugin= mysql_load_plugin(mysql, "foo", -1, 0);