• Mike Kaganski's avatar
    Force UITests locale en_US · 68762b33
    Mike Kaganski yazdı
    ... otherwise they fail e.g. on Russian locale like this:
    
    $ /opt/lo/bin/make UITest_calc_tests7 UITEST_TEST_NAME="tdf123479.tdf123479.test_tdf123479_Crash_ScFormulaResult_GetMatrixFormulaCellToken"
    C:/cygwin64/opt/lo/bin/make -j 12 -rs -f C:/lo/src/core2/Makefile.gbuild UITest_calc_tests7
    ...
    [UIT] calc_tests7
    ...
    Execution time for tdf123479.tdf123479.test_tdf123479_Crash_ScFormulaResult_GetMatrixFormulaCellToken: 3.847
    tearDown: calling terminate()...
    ...done
    FAIL
    
    ======================================================================
    FAIL: test_tdf123479_Crash_ScFormulaResult_GetMatrixFormulaCellToken (tdf123479.tdf123479)
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "C:/lo/src/core2/sc/qa/uitest/calc_tests7/tdf123479.py", line 42, in test_tdf123479_Crash_ScFormulaResult_GetMatrixFormulaCellToken
        self.assertEqual(get_state_as_dict(edArg2)["Text"], "OFFSET($Data.$A$2:$Data.$A$4,0,COLUMN()-3)")
    AssertionError: 'OFFSET($Data.$A$2:$Data.$A$4;0;COLUMN()-3)' != 'OFFSET($Data.$A$2:$Data.$A$4,0,COLUMN()-3)'
    - OFFSET($Data.$A$2:$Data.$A$4;0;COLUMN()-3)
    ?                             ^ ^
    + OFFSET($Data.$A$2:$Data.$A$4,0,COLUMN()-3)
    ?                             ^ ^
    
    
    ----------------------------------------------------------------------
    Ran 1 test in 77.822s
    
    FAILED (failures=1)
    Tests run: 1
    Tests failed: 1
    Tests errors: 0
    Tests skipped: 0
    
    Change-Id: I65a199cc3f9667b8a2d72ba09ceb68732da3ec88
    Reviewed-on: https://gerrit.libreoffice.org/70127Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
    Tested-by: Jenkins
    Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
    68762b33
UITest.mk 5.58 KB