Skip to content

Commit fa569e1

Browse files
author
MarcoFalke
committed
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"
1 parent fa3d776 commit fa569e1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/test/04_install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ export LC_ALL=C.UTF-8
99
if [[ $DOCKER_NAME_TAG == centos* ]]; then
1010
export LC_ALL=en_US.utf8
1111
fi
12+
if [[ $QEMU_USER_CMD == qemu-s390* ]]; then
13+
export LC_ALL=C
14+
fi
1215

1316
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
1417
set +o errexit

0 commit comments

Comments
 (0)