Fix smoketest under right-to-left locales

The calc macro test tries to select a range of cells by moving selection
right, but this fails when the UI direction is right-to-left as the
first cell will be the right most and moving right will do nothing.

Fix this by forcing en-US locale like we do with JunitTest.

Change-Id: I08d0bc50013b0936af85af75bca82a44b044d48a
Reviewed-on: https://gerrit.libreoffice.org/32243
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Khaled Hosny
2016-12-20 19:18:36 +02:00
committed by Stephan Bergmann
parent 6f4575f89f
commit 574524604c

View File

@@ -46,7 +46,8 @@ $(call gb_CppunitTest_get_target,smoketest): \
clean_CustomTarget_smoketest:
rm -rf $(WORKDIR)/CustomTarget/smoketest
mkdir -p $(WORKDIR)/CustomTarget/smoketest
mkdir -p $(WORKDIR)/CustomTarget/smoketest/user
cp $(SRCDIR)/qadevOOo/qa/registrymodifications.xcu $(WORKDIR)/CustomTarget/smoketest/user
$(WORKDIR)/Zip/smoketestdoc.sxw: $(call gb_Zip_get_target,smoketestdoc)
cp $< $@