Files
soci/scripts/ci/test_odbc.sh
T
Vadim Zeitlin e7b5d1f4cd Ignore leaks from SQLDriverConnect() in Unix ODBC tests
Switching to Debian UnixODBC packages exposed memory leaks in
SQLDriverConnect() that we don't seem to be able to do anything about.
2023-02-23 15:38:02 +01:00

12 lines
428 B
Bash
Executable File

#!/usr/bin/env bash
# Tests SOCI ODBC backend in CI builds
#
# Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net>
# Copyright (c) 2021 Vadim Zeitlin <vz-soci@zeitlins.org>
#
source ${SOCI_SOURCE_DIR}/scripts/ci/common.sh
# Exclude the tests which can't be run due to the absence of ODBC drivers (MS
# SQL and MySQL).
LSAN_OPTIONS=suppressions=${SOCI_SOURCE_DIR}/scripts/suppress_odbc.txt run_test -E 'soci_odbc_test_m.sql'