mirror of
https://github.com/SOCI/soci.git
synced 2026-05-04 18:29:38 -05:00
186128d601
Under FreeBSD, for example, bash is installed only in /usr/local/bin and
/bin/bash is not available, so use "/usr/bin/env bash" to find it any
location.
As there doesn't seem to be any portable way to pass "-e" option to bash
when using env ("env -S" doesn't work with older GNU coreutils used in
GitHub CI Linux builds), set this option in common.sh once now instead
of doing it on the shebang line of all the scripts.
It would be even better to rewrite the scripts to avoid requiring bash,
but this would require more effort.
9 lines
257 B
Bash
Executable File
9 lines
257 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Tests SOCI FB backend in CI builds
|
|
#
|
|
# Copyright (c) 2021 Ilya Sinitsyn <isinitsyn@tt-solutions.com>
|
|
#
|
|
source ${SOCI_SOURCE_DIR}/scripts/ci/common.sh
|
|
|
|
LSAN_OPTIONS=suppressions=${SOCI_SOURCE_DIR}/scripts/suppress_firebird.txt run_test
|