aboutsummaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-12-17 22:02:48 -0500
committerMarcoFalke <falke.marco@gmail.com>2020-01-03 07:07:11 -0500
commitfa569e1a9c5ad1bf8bdf866235b21aff56112224 (patch)
tree7e8a1df40931711893662e579d6257a459166b38 /ci
parentfa3d77623ecb25dde6b5f4be11626ed16966eb29 (diff)
downloadbitcoin-fa569e1a9c5ad1bf8bdf866235b21aff56112224.tar.xz
ci: Set LC_ALL=C when running in qemu-s390x
This avoids std::runtime_error in the unit tests of the type "locale::facet::_S_create_c_locale name not valid"
Diffstat (limited to 'ci')
-rwxr-xr-xci/test/04_install.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/test/04_install.sh b/ci/test/04_install.sh
index 68fd98302f..2b5a9a5357 100755
--- a/ci/test/04_install.sh
+++ b/ci/test/04_install.sh
@@ -9,6 +9,9 @@ export LC_ALL=C.UTF-8
if [[ $DOCKER_NAME_TAG == centos* ]]; then
export LC_ALL=en_US.utf8
fi
+if [[ $QEMU_USER_CMD == qemu-s390* ]]; then
+ export LC_ALL=C
+fi
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
set +o errexit