patrickfrey / strusUtilities

A set of command line programs to access the strus information retrieval engine
http://www.project-strus.net
Mozilla Public License 2.0
3 stars 0 forks source link

TestAnalyzeBindPos1 fails #45

Closed andreasbaumann closed 7 years ago

andreasbaumann commented 7 years ago
      Start 11: TestAnalyzeBindPos1
11/18 Test #11: TestAnalyzeBindPos1 ..............***Failed    2.44 sec

shell> ctest --verbose -R TestAnalyzeBindPos1
UpdateCTestConfiguration  from :/data/strusUtilities/DartConfiguration.tcl
UpdateCTestConfiguration  from :/data/strusUtilities/DartConfiguration.tcl
Test project /data/strusUtilities
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 11
    Start 11: TestAnalyzeBindPos1

11: Test command: /data/strusUtilities/tests/scripts/runTest.sh "testAnalyzeBindPos1"
11: Test timeout computed to be: 9.99988e+06
11: /data/strusUtilities/tests/scripts
11: ERROR error in analyze document: error adding search index feature: error defining feature: 'illegal definition of a feature that has a tokenizer processing the content concatenated with positions bound to other features'
11: /data/strusUtilities/tests/scripts
11: DIFF AT 12924
1/1 Test #11: TestAnalyzeBindPos1 ..............***Failed    1.71 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   1.85 sec

The following tests FAILED:
         11 - TestAnalyzeBindPos1 (Failed)
Errors while running CTest

test_results_armv6.zip

andreasbaumann commented 7 years ago

test_results_armv7.zip

andreasbaumann commented 7 years ago

test_results_osx.zip

andreasbaumann commented 7 years ago

Actually, it fails also on 64-bit Intel :-)

andreasbaumann commented 7 years ago

tests_results_intel_64bit.zip

patrickfrey commented 7 years ago

Fixed. Analyzer reported an error if another bind-position option was used than content (default). This bug was fixed locally, but I forgot to check-in.

andreasbaumann commented 7 years ago

Confirmed. Fix is in strusAnalyzer. TestAnalyzeBindPos1 test works on Linux, OSX, FreeBSD.

patrickfrey commented 7 years ago

The fix happened in strusAnalyzer

andreasbaumann commented 7 years ago

Yep. I realized that. :-)