summaryrefslogtreecommitdiff
path: root/tcwg-llvm-testsuite.sh
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2017-03-31 18:37:19 +0100
committerRenato Golin <renato.golin@linaro.org>2017-03-31 18:37:19 +0100
commit0b6f5ba302940e8de1220db37cd4804206878fee (patch)
treeef2a315f8d045a6c22421083389c080ec51080f6 /tcwg-llvm-testsuite.sh
parent6bcc64458f22140ee2071269c4f6faed27cc24e2 (diff)
tcwg-llvm-testsuite.sh: try alternative LC_ALL
Change-Id: Ie80f111069a86fc8b5fc0177fd5ab7ccca535752
Diffstat (limited to 'tcwg-llvm-testsuite.sh')
-rwxr-xr-xtcwg-llvm-testsuite.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/tcwg-llvm-testsuite.sh b/tcwg-llvm-testsuite.sh
index 1a94715a..359ff40b 100755
--- a/tcwg-llvm-testsuite.sh
+++ b/tcwg-llvm-testsuite.sh
@@ -87,13 +87,12 @@ 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"
+cd "$WORKSPACE" && LC_ALL=C virtualenv --python=$python sandbox |& tee "$LOGBASE-setup.$LOGEXT"
+cd "$WORKSPACE" && LC_ALL=C "$WORKSPACE/sandbox/bin/python" "$WORKSPACE/lnt/setup.py" develop |& tee "$LOGBASE-setup.$LOGEXT"
# Run the test-suite
-cd "$WORKSPACE" && CC="$CC" CXX="$CXX" "$WORKSPACE/sandbox/bin/python" \
+cd "$WORKSPACE" && LC_ALL=C CC="$CC" CXX="$CXX" "$WORKSPACE/sandbox/bin/python" \
"$WORKSPACE/sandbox/bin/lnt" runtest nt \
"-j$CPUS" \
--no-timestamp \