mirror of
https://github.com/SOCI/soci.git
synced 2026-04-24 21:38:38 -05:00
bce5f9febb
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.
11 lines
449 B
Bash
Executable File
11 lines
449 B
Bash
Executable File
#!/bin/bash -e
|
|
# Builds SOCI for use with Valgrind in CI builds
|
|
#
|
|
# Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net>
|
|
# Copyright (c) 2015 Sergei Nikulov <sergey.nikulov@gmail.com>
|
|
# Copyright (c) 2021 Vadim Zeitlin <vz-soci@zeitlins.org>
|
|
#
|
|
source ${SOCI_SOURCE_DIR}/scripts/ci/common.sh
|
|
|
|
valgrind --leak-check=full --suppressions=${SOCI_SOURCE_DIR}/valgrind.suppress --error-exitcode=1 --trace-children=yes ctest -V --output-on-failure "$@" .
|