diff options
author | Renato Golin <renato.golin@linaro.org> | 2017-03-30 12:20:28 +0100 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2017-03-30 12:20:28 +0100 |
commit | 8a7e80a5bb53e042f8cacef69dc24d2c7470510b (patch) | |
tree | b2307a9d05ee8c090215be34d406b77dd8ec47bc | |
parent | b58cfa778afed5055272b036e85f823e4c8281c9 (diff) |
tcwg-llvm-testsuite.sh: using standard locale to avoid python errors
Change-Id: Ia05567dfaa609eeebad49a2e970e1090d4049888
-rwxr-xr-x | tcwg-llvm-testsuite.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tcwg-llvm-testsuite.sh b/tcwg-llvm-testsuite.sh index a1abb1de..1a94715a 100755 --- a/tcwg-llvm-testsuite.sh +++ b/tcwg-llvm-testsuite.sh @@ -87,6 +87,7 @@ git clone http://llvm.org/git/test-suite.git "$WORKSPACE/test-suite" |& tee "$LO git clone http://llvm.org/git/lnt.git "$WORKSPACE/lnt" |& tee -a "$LOGBASE-clone.$LOGEXT" # Prepare +export LC_ALL=C # This ignores locales, which could cause python problems. python=$(which python2) cd "$WORKSPACE" && virtualenv --python=$python sandbox |& tee "$LOGBASE-setup.$LOGEXT" cd "$WORKSPACE" && "$WORKSPACE/sandbox/bin/python" "$WORKSPACE/lnt/setup.py" develop |& tee "$LOGBASE-setup.$LOGEXT" |