Skip to content

Commit

Permalink
tests: only run mysql tests if HAVE_MYSQL is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
klali committed Apr 9, 2021
1 parent dbecea7 commit fd86d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pam_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fd86d95

Please sign in to comment.