Thanks Marcin for the checkin. Just to confirm that all tests pass now after your fix:
------ r9584 | milek_pl | 2013-03-05 10:50:14 +0100 (Tue, 05 Mar 2013) | 1 line change tests to see if that helps with undefined order of return data ------ Regards Dominique Marcin Miłkowski wrote: > Hi, > > interesting but it may be completely spurious. Namely, the finite state > dictionary does not guarantee the order of data it returns, but the test > (due to my laziness) simply takes the data in the sequence I got on my > machine. I will change the routine to sort the array and we'll see if > that was the reason. > > Best, > Marcin > > W dniu 2013-03-05 05:01, Dominique Pellé pisze: >> Hi >> >> Since this last weekend, Polish synthesizer test fail on my laptop >> (Linux x86_64, xubuntu-12.10). Yet it works on another machine >> (Linux x86_64, xubuntu-12.04). I'm up-to-date with SVN (r9583) >> and I have no files changed locally. I even created a new >> directory with a fresh checkout from SVN to be 100% sure. >> >> Here is the error: >> >> # Fresh check out from SVN -> tests fail >> $ cd /tmp >> $ svn co >> https://languagetool.svn.sourceforge.net/svnroot/languagetool/trunk/languagetool >> $ cd languagetool >> $ mvn clean package >> ....snip... >> Running org.languagetool.tokenizers.pl.PolishSentenceTokenizerTest >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.06 sec >> Running org.languagetool.synthesis.pl.PolishSynthesizerTest >> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.067 >> sec <<< FAILURE! >> Running org.languagetool.JLanguageToolTest >> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.437 sec >> Running org.languagetool.tagging.pl.PolishTaggerTest >> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 22.861 sec >> Running org.languagetool.tagging.disambiguation.PolishDisambiguatorTest >> Running disambiguation tests for Polish... >> Running disambiguation tests for Testlanguage... >> Running disambiguation tests for Polish... >> Running disambiguation tests for Testlanguage... >> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.504 sec >> Running org.languagetool.tools.ToolsTest >> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.296 sec >> >> Results : >> >> Failed tests: >> testSynthesizeString(org.languagetool.synthesis.pl.PolishSynthesizerTest): >> null expected:<...iało, miałobyś, miał[obym, miałe]m, miałabym, >> miałaby...> but was:<...iało, miałobyś, miał[em, miałoby]m, miałabym, >> miałaby...> >> >> Tests run: 26, Failures: 1, Errors: 0, Skipped: 0 >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] languagetool-parent ............................... SUCCESS [2.240s] >> [INFO] LanguageTool Style and Grammar Checker Core ....... SUCCESS [16.774s] >> [INFO] English module for LanguageTool ................... SUCCESS [26.200s] >> [INFO] Hunspell native libs for LanguageTool ............. SUCCESS [2.009s] >> [INFO] French module for LanguageTool .................... SUCCESS [18.683s] >> [INFO] German module for LanguageTool .................... SUCCESS >> [1:29.306s] >> [INFO] Polish module for LanguageTool .................... FAILURE [43.845s] >> [INFO] Catalan module for LanguageTool ................... SKIPPED >> [INFO] Italian module for LanguageTool ................... SKIPPED >> [INFO] Breton module for LanguageTool .................... SKIPPED >> [INFO] Dutch module for LanguageTool ..................... SKIPPED >> [INFO] Portuguese module for LanguageTool ................ SKIPPED >> [INFO] Russian module for LanguageTool ................... SKIPPED >> [INFO] Asturian module for LanguageTool .................. SKIPPED >> [INFO] Belarusian module for LanguageTool ................ SKIPPED >> [INFO] Chinese module for LanguageTool ................... SKIPPED >> [INFO] Danish module for LanguageTool .................... SKIPPED >> [INFO] Esperanto module for LanguageTool ................. SKIPPED >> [INFO] Galician module for LanguageTool .................. SKIPPED >> [INFO] Greek module for LanguageTool ..................... SKIPPED >> [INFO] Icelandic module for LanguageTool ................. SKIPPED >> [INFO] Japanese module for LanguageTool .................. SKIPPED >> [INFO] Khmer module for LanguageTool ..................... SKIPPED >> [INFO] Lithuanian module for LanguageTool ................ SKIPPED >> [INFO] Malayalam module for LanguageTool ................. SKIPPED >> [INFO] Romanian module for LanguageTool .................. SKIPPED >> [INFO] Slovak module for LanguageTool .................... SKIPPED >> [INFO] Slovenian module for LanguageTool ................. SKIPPED >> [INFO] Spanish module for LanguageTool ................... SKIPPED >> [INFO] Swedish module for LanguageTool ................... SKIPPED >> [INFO] Tagalog module for LanguageTool ................... SKIPPED >> [INFO] Ukrainian module for LanguageTool ................. SKIPPED >> [INFO] All languages modules for LanguageTool ............ SKIPPED >> [INFO] LanguageTool common GUI classes ................... SKIPPED >> [INFO] LanguageTool command-line version ................. SKIPPED >> [INFO] LanguageTool embedded HTTP server ................. SKIPPED >> [INFO] LanguageTool stand-alone GUI ...................... SKIPPED >> [INFO] LanguageTool LibreOffice/OpenOffice extension ..... SKIPPED >> [INFO] LanguageTool Wikipedia tools ...................... SKIPPED >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 3:20.952s >> [INFO] Finished at: Tue Mar 05 04:52:03 CET 2013 >> [INFO] Final Memory: 53M/205M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-surefire-plugin:2.12:test >> (default-test) on project language-pl: There are test failures. >> [ERROR] >> [ERROR] Please refer to >> /home/pel/sb/pristine/languagetool/languagetool-language-modules/pl/target/surefire-reports >> for the individual test results. >> [ERROR] -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with >> the -e switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :language-pl >> >> >> Has anybody else seen that? >> >> In case it matters, I use this version of Java: >> >> $ java -version >> java version "1.7.0_15" >> OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.10) >> OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode) >> >> Regards >> Dominique >> >> ------------------------------------------------------------------------------ >> Everyone hates slow websites. So do we. >> Make your web apps faster with AppDynamics >> Download AppDynamics Lite for free today: >> http://p.sf.net/sfu/appdyn_d2d_feb >> _______________________________________________ >> Languagetool-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/languagetool-devel >> > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > Languagetool-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/languagetool-devel ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Languagetool-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/languagetool-devel
