1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2024-11-29 00:24:11 +01:00

tests: only run mysql tests if HAVE_MYSQL is defined

This commit is contained in:
Klas Lindfors 2021-04-09 13:05:33 +02:00
parent dbecea7ba2
commit fd86d9596b
No known key found for this signature in database
GPG Key ID: BCA00FD4B2168C0A

View File

@ -447,7 +447,7 @@ int main(void) {
goto out;
}
#endif
#ifdef RUN_MYSQL_TESTS
#if defined(RUN_MYSQL_TESTS) && defined(HAVE_MYSQL)
if(test_authenticate_mysql1() != PAM_SUCCESS) {
ret = 2001;
goto out;