functional-16-collation test failures with `-Dunicode_support=unistring`
- Debian Unstable
- meson 0.48.2
- tracker 2.1.6
- icu 63.1
I recently started building tracker with meson and I am getting several test failures in the functional-16-collation
test. I wonder if this is triggered by the latest icu?
I am running the tests with
LANG=en_US.utf8 LC_ALL=en_US.utf8 dbus-run-session
Test output
41/50 functional-16-collation FAIL 4.67 s (exit status 1)
--- command ---
DCONF_PROFILE='/tmp/autopkgtest.cdCfre/build.jtJ/src/tests/functional-tests/trackertest'
TRACKER_LANGUAGE_STOP_WORDS_DIR='/tmp/autopkgtest.cdCfre/build.jtJ/src/src/libtracker-common/stop-words'
TRACKER_FUNCTIONAL_TEST_BUILD_DIR='/tmp/autopkgtest.cdCfre/build.jtJ/src/obj-x86_64-linux-gnu'
TRACKER_TEST_DOMAIN_ONTOLOGY_RULE='/tmp/autopkgtest.cdCfre/build.jtJ/src/src/tracker-store/default.rule'
TRACKER_DB_ONTOLOGIES_DIR='/tmp/autopkgtest.cdCfre/build.jtJ/src/src/ontologies/nepomuk'
TRACKER_FUNCTIONAL_TEST_CONFIG='/tmp/autopkgtest.cdCfre/build.jtJ/src/obj-x86_64-linux-gnu/tests/functional-
tests/configuration.json' /tmp/autopkgtest.cdCfre/build.jtJ/src/tests/functional-tests/test-runner.sh
./16-collation.py
--- stdout ---
Running ./16-collation.py
TODO:
* Check what happens in non-english encoding
* Dynamic change of collation (not implemented yet in tracker)
--- stderr ---
FFFF
======================================================================
FAIL: test_collation_01 (__main__.TrackerStoreCollationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./16-collation.py", line 101, in test_collation_01
self.__collation_test (input_dt, expected)
File "./16-collation.py", line 93, in __collation_test
locale.getdefaultlocale ()[1]))
AssertionError: u'Abc' != 'abb' : Error:
Expected : *** ['abb', 'Abc', 'Ba', 'bb']
Result : *** [u'Abc', u'Ba', u'abb', u'bb']
Using locale (en_US, UTF-8)
======================================================================
FAIL: test_collation_02 (__main__.TrackerStoreCollationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./16-collation.py", line 109, in test_collation_02
self.__collation_test (input_dt, expected)
File "./16-collation.py", line 93, in __collation_test
locale.getdefaultlocale ()[1]))
AssertionError: u'Aa' != 'aa' : Error:
Expected : *** ['aa', 'Aa', 'bb', 'Bb']
Result : *** [u'Aa', u'Bb', u'aa', u'bb']
Using locale (en_US, UTF-8)
======================================================================
FAIL: test_collation_03 (__main__.TrackerStoreCollationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./16-collation.py", line 118, in test_collation_03
self.__collation_test (input_dt, expected)
File "./16-collation.py", line 93, in __collation_test
locale.getdefaultlocale ()[1]))
AssertionError: u'Cab' != 'cab' : Error:
Expected : *** ['cab', 'Cab', u'c\xe1b', 'dab']
Result : *** [u'Cab', u'cab', u'c\xe1b', u'dab']
Using locale (en_US, UTF-8)
======================================================================
FAIL: test_collation_04 (__main__.TrackerStoreCollationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./16-collation.py", line 126, in test_collation_04
self.__collation_test (input_dt, expected)
File "./16-collation.py", line 93, in __collation_test
locale.getdefaultlocale ()[1]))
AssertionError:
- e+ \xe4 : Error:
Expected : *** ['a', u'\xe4', 'e', 'i', 'o', u'\xf6', 'u']
Result : *** [u'a', u'e', u'i', u'o', u'u', u'\xe4', u'\xf6']
Using locale (en_US, UTF-8)
----------------------------------------------------------------------
Ran 4 tests in 4.592s
FAILED (failures=4)
Edited by Sam Thursfield