Commits

kiilerix committed 3b8ced3

test-gendoc: mute gendoc stderr

Solaris had problems with zh_CN and warned "couldn't set locale correctly" on
stderr. We don't care.

Comments (0)

Files changed (1)

tests/test-gendoc

     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.