Commit 1e3f1508 authored by Robert Loehning's avatar Robert Loehning

Squish: Force English in suite_tools

Without, I get German output from git which breaks tests.

Change-Id: Ic12a3d31908193b4bac3283eb02b06fc945c5fd8
Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
parent 761c4121
QT_PLATFORM_PLUGIN=nonesuch
LC_ALL=C
......@@ -35,7 +35,10 @@ def main():
return
invokeMenuItem("File", "Open File or Project...")
unsortedFile = os.path.join(os.getcwd(), "testdata", "unsorted.txt")
sorted = getOutputFromCmdline("sort %s" % unsortedFile).replace("\r", "")
locale = ""
if not platform.system() in ('Windows', 'Microsoft'):
locale = "LC_ALL=C "
sorted = getOutputFromCmdline("%ssort %s" % (locale, unsortedFile)).replace("\r", "")
selectFromFileDialog(unsortedFile)
editor = waitForObject("{type='TextEditor::PlainTextEditorWidget' unnamed='1' "
"visible='1' window=':Qt Creator_Core::Internal::MainWindow'}", 3000)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment