diff --git a/gramps2/test/det_ancestor_report.sh b/gramps2/test/det_ancestor_report.sh index c90f68c39..891fc04bd 100755 --- a/gramps2/test/det_ancestor_report.sh +++ b/gramps2/test/det_ancestor_report.sh @@ -1,17 +1,20 @@ #! /bin/sh # -# Report test for GRAMPS: Generate det_ancesto_report testing +# Report test for GRAMPS: Generate det_ancestor_report testing # different option combinations. # $Id$ +REP="det_ancestor_report" +FMT="txt" + TOP_DIR=`dirname $PWD` TEST_DIR=$TOP_DIR/test SRC_DIR=$TOP_DIR/src PRG="python gramps.py" EXAMPLE_XML=$TOP_DIR/example/gramps/example.gramps -REP_DIR=$TEST_DIR/reports/det_ancestor_report +REP_DIR=$TEST_DIR/reports/$REP mkdir -p $REP_DIR DATA_DIR=$TEST_DIR/data @@ -29,10 +32,6 @@ OPTS="-i $EXAMPLE_XML -o $DATA_DIR/example.grdb" OPTS="-O $DATA_DIR/example.grdb" -REP="det_ancestor_report" -FMT="txt" - -# Single run with all textual reports in all formats echo "" echo "+--------------------------------------------------------------" echo "| Text Report: "$REP