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:
parent
dbecea7ba2
commit
fd86d9596b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user