Skip to content

Commit

Permalink
Fix driver detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzmbrzl committed Feb 25, 2024
1 parent f4ecb68 commit 9feb250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ install:
$drivers_list = Get-ODBCList
Write-Output $drivers_list
$env:SOCI_ODBC_SKIP_TESTS = "soci_odbc_ms_access_tests"
if (-Not $drivers_list -clike '*MySQL*') {
if (-Not ($drivers_list -contains 'MySQL')) {
$env:SOCI_ODBC_SKIP_TESTS = $env:SOCI_ODBC_SKIP_TESTS + '|soci_odbc_mysql_tests'
}
if (-Not $drivers_list -clike '*PostgreSQL*') {
if (-Not ($drivers_list -contains 'PostgreSQL')) {
$env:SOCI_ODBC_SKIP_TESTS = $env:SOCI_ODBC_SKIP_TESTS + '|soci_odbc_postgresql_tests'
}
Write-Output "To be skipped ODBC tests: $env:SOCI_ODBC_SKIP_TESTS"
Expand Down

0 comments on commit 9feb250

Please sign in to comment.