Revision: 9789
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9789&view=rev
Author:   dnaber
Date:     2013-03-25 22:19:46 +0000 (Mon, 25 Mar 2013)
Log Message:
-----------
fix encoding (from crontab); fix links; slightly more verbose output

Modified Paths:
--------------
    trunk/website/regression-test/languagetool-regression-test.sh

Modified: trunk/website/regression-test/languagetool-regression-test.sh
===================================================================
--- trunk/website/regression-test/languagetool-regression-test.sh       
2013-03-25 22:14:43 UTC (rev 9788)
+++ trunk/website/regression-test/languagetool-regression-test.sh       
2013-03-25 22:19:46 UTC (rev 9789)
@@ -2,6 +2,7 @@
 # LanguageTool regression tests on Wikipedia data
 # dnaber, 2013-03-24
 
+export LANG="de_DE.UTF-8"
 date=`date +%Y%m%d`
 jarFile="languagetool-wikipedia.jar"
 corpusDir="/home/languagetool/regression-test/static-regression-data"
@@ -26,7 +27,7 @@
 echo "<head><title>$overviewTitle</title></head>"  >>$globalResultFile
 echo "<body>" >>$globalResultFile
 echo "<h1>$overviewTitle</h1>" >>$globalResultFile
-echo "<p>This page lists the results of our automatic regression testing 
against a fixed (but small!) Wikipedia corpus.</p>" >>$globalResultFile
+echo "<p>This page lists the results of our automatic regression testing 
against a fixed Wikipedia corpus with $maxDocs articles per language.</p>" 
>>$globalResultFile
 echo "<p>Changes $oldDisplayDate to $displayDate</p>" >>$globalResultFile
 
 # TODO: add more languages
@@ -55,6 +56,9 @@
   fi
 done
 
+displayDateEnd=`date +"%Y-%m-%d %H:%M"`
+echo "<p>Regression test runtime: $displayDate to $displayDateEnd</p>" 
>>$globalResultFile
+
 echo "</body>" >>$globalResultFile
 echo "</html>" >>$globalResultFile
 mv $globalResultFile $targetDir
@@ -65,4 +69,5 @@
 mailFromPart2=danielnaber.de
 mailToPart1=naber
 mailToPart2=danielnaber.de
-lynx --dump $targetDir/$globalResultFile | mail 
-aFrom:${mailFromPart1}@${mailFromPart2} -s "LanguageTool regression test" 
${mailToPart1}@${mailToPart2}
+lynx --dump $targetDir/$globalResultFile | sed -e 
's#file://localhost/home/languagetool/languagetool.org/website-from-svn/www/#http://languagetool.org/#'
 | mail -aFrom:${mailFromPart1}@${mailFromPart2} -s "LanguageTool regression 
test" ${mailToPart1}@${mailToPart2}
+echo "Mail sent to ${mailToPart1}@${mailToPart2}"

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to