test-gendoc: mute gendoc stderr stable
authorMads Kiilerich <mads@kiilerich.com>
Fri, 24 Sep 2010 02:57:15 +0200
branchstable
changeset 12397 3b8ced3e3bbf
parent 12396 ea384dbca5b1
child 12398 2bc926ad65c2
child 12507 552e0cfbddbd
child 12563 b9ea2b7caffd
test-gendoc: mute gendoc stderr Solaris had problems with zh_CN and warned "couldn't set locale correctly" on stderr. We don't care.
tests/test-gendoc
--- a/tests/test-gendoc	Fri Sep 24 02:52:12 2010 +0200
+++ b/tests/test-gendoc	Fri Sep 24 02:57:15 2010 +0200
@@ -11,7 +11,7 @@
     echo "% extracting documentation from $LOCALE"
     echo ".. -*- coding: utf-8 -*-" > gendoc-$LOCALE.txt
     echo "" >> gendoc-$LOCALE.txt
-    LC_ALL=$LOCALE python $TESTDIR/../doc/gendoc.py >> gendoc-$LOCALE.txt || exit
+    LC_ALL=$LOCALE python $TESTDIR/../doc/gendoc.py >> gendoc-$LOCALE.txt 2> /dev/null || exit
 
     # We call runrst without adding "--halt warning" to make it report
     # all errors instead of stopping on the first one.