* test/runtest.sh: Switch to doing many reports in one call.
svn: r5423
This commit is contained in:
parent
1fdfa0fd1a
commit
31e94e89bd
@ -9,6 +9,7 @@
|
|||||||
* src/plugins/DetDescendantReport.py (write_write_children):
|
* src/plugins/DetDescendantReport.py (write_write_children):
|
||||||
Properly check for henry number; (write_mate): omit children list.
|
Properly check for henry number; (write_mate): omit children list.
|
||||||
* src/Report.py: Better packing in vertical direction.
|
* src/Report.py: Better packing in vertical direction.
|
||||||
|
* test/runtest.sh: Switch to doing many reports in one call.
|
||||||
|
|
||||||
2005-11-22 Don Allingham <don@gramps-project.org>
|
2005-11-22 Don Allingham <don@gramps-project.org>
|
||||||
* src/plugins/NavWebPage.py: Fix output_notebook remains.
|
* src/plugins/NavWebPage.py: Fix output_notebook remains.
|
||||||
|
@ -5,33 +5,40 @@ TDIR=$GDIR/test
|
|||||||
OPTS="-i $GDIR/example/gramps/example.gramps -f gramps-xml"
|
OPTS="-i $GDIR/example/gramps/example.gramps -f gramps-xml"
|
||||||
PRG="python gramps.py"
|
PRG="python gramps.py"
|
||||||
|
|
||||||
for report in ancestor_chart ancestor_chart2 descendant_graph
|
GRPH_FMT="sxw ps pdf svg"
|
||||||
do
|
TEXT_FMT="sxw pdf kwd abw rtf"
|
||||||
for fmt in "sxw" "ps" "pdf" "svg"
|
|
||||||
do
|
|
||||||
echo ""
|
|
||||||
echo "+--------------------------------------------------------------"
|
|
||||||
echo "|"
|
|
||||||
echo "| $report in $fmt format"
|
|
||||||
echo "|"
|
|
||||||
echo "+--------------------------------------------------------------"
|
|
||||||
|
|
||||||
(cd $GDIR/src; $PRG $OPTS -a report -p name=$report,id=I44,off=$fmt,of=$TDIR/$report.$fmt)
|
|
||||||
done
|
|
||||||
done
|
|
||||||
|
|
||||||
for report in ancestor_report ancestors_report descend_report det_ancestor_report det_descendant_report
|
GRPH_REP="ancestor_chart ancestor_chart2 descendant_graph"
|
||||||
do
|
TEXT_REP="ancestor_report ancestors_report descend_report det_ancestor_report det_descendant_report"
|
||||||
for fmt in "sxw" "pdf" "kwd" "abw" "rtf"
|
|
||||||
do
|
|
||||||
echo ""
|
|
||||||
echo "+--------------------------------------------------------------"
|
|
||||||
echo "|"
|
|
||||||
echo "| $report in $fmt format"
|
|
||||||
echo "|"
|
|
||||||
echo "+--------------------------------------------------------------"
|
|
||||||
|
|
||||||
(cd $GDIR/src; $PRG $OPTS -a report -p name=$report,id=I44,off=$fmt,of=$TDIR/$report.$fmt)
|
|
||||||
done
|
|
||||||
done
|
|
||||||
|
|
||||||
|
# Single run with all graphical reports in all formats
|
||||||
|
action=
|
||||||
|
for report in $GRPH_REP; do
|
||||||
|
for fmt in $GRPH_FMT; do
|
||||||
|
action="$action -a report -p name=$report,id=I44,off=$fmt,of=$TDIR/$report.$fmt"
|
||||||
|
done
|
||||||
|
done
|
||||||
|
echo ""
|
||||||
|
echo "+--------------------------------------------------------------"
|
||||||
|
echo "| Reports:"
|
||||||
|
echo "| "$GRPH_REP
|
||||||
|
echo "| Formats:"
|
||||||
|
echo "| "$GRPH_FMT
|
||||||
|
echo "+--------------------------------------------------------------"
|
||||||
|
(cd $GDIR/src; $PRG $OPTS $action)
|
||||||
|
|
||||||
|
# Single run with all textual reports in all formats
|
||||||
|
action=
|
||||||
|
for report in $TEXT_REP; do
|
||||||
|
for fmt in $TEXT_FMT; do
|
||||||
|
action="$action -a report -p name=$report,id=I44,off=$fmt,of=$TDIR/$report.$fmt"
|
||||||
|
done
|
||||||
|
done
|
||||||
|
echo ""
|
||||||
|
echo "+--------------------------------------------------------------"
|
||||||
|
echo "| Reports:"
|
||||||
|
echo "| "$TEXT_REP
|
||||||
|
echo "| Formats:"
|
||||||
|
echo "| "$TEXT_FMT
|
||||||
|
echo "+--------------------------------------------------------------"
|
||||||
|
(cd $GDIR/src; $PRG $OPTS $action)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user