Files
soci/scripts/ci/test_odbc.sh
T
Vadim Zeitlin bce5f9febb Split build and test stages of the CI builds
While this doesn't matter for Travis CI, it makes sense to separate them
for the other CI systems using more structured approach to the build
steps.

Add a few test_*.sh scripts for the backends that need to do something
special when running the tests and just use run_test function for all
the others.
2021-03-19 00:50:05 +01:00

12 lines
352 B
Bash
Executable File

#!/bin/bash -e
# 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).
run_test -E 'soci_odbc_test_m.sql'