Skip to content

Commit

Permalink
Update tests for docgen.
Browse files Browse the repository at this point in the history
  • Loading branch information
weetmuts committed Jul 17, 2024
1 parent 5badb4d commit bbc0c0c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion models/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bsymb.sty:
cp ../doc/bsymb.sty .

%.pdf: % bsymb.sty
$(EVBT) docgen -q tex $<
$(EVBT) docgen --tex -q $<
@echo "xelatex $<.tex"
@xelatex -interaction=batchmode -halt-on-error $<.tex >> /tmp/evbtmodels.log 2>&1
@echo "makeindex $<.idx"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_coffeeclub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ rm -rf $OUTDIR
mkdir -p $OUTDIR

INFO="Generated coffee club tex file."
$PROG docgen -q --outputdir=$OUTDIR tex models/CoffeeClub
$PROG docgen --tex -q --outputdir=$OUTDIR models/CoffeeClub
cp doc/bsymb.sty $OUTDIR
xelatex -output-directory=$OUTDIR -interaction=batchmode -halt-on-error $OUTDIR/CoffeeClub.tex > $OUTDIR/tmp 2>&1

Expand Down
2 changes: 1 addition & 1 deletion tests/test_edk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ OUTDIR="$DIR/$TESTNAME"
mkdir -p $OUTDIR

INFO="Tested generation of tex from EDK model."
$PROG docgen -q --outputdir=$OUTDIR tex src/event-b/EDK
$PROG docgen --tex -q --outputdir=$OUTDIR src/event-b/EDK
cp doc/bsymb.sty $OUTDIR
xelatex -output-directory=$OUTDIR -aux-directory=$OUTDIR -interaction=batchmode -halt-on-error $OUTDIR/EDK.tex > $OUTDIR/tmp 2>&1

Expand Down
2 changes: 1 addition & 1 deletion tests/test_elevator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ OUTDIR="$DIR/$TESTNAME"
mkdir -p $OUTDIR

INFO="Generated elevator tex file."
$PROG docgen -q --outputdir=$OUTDIR tex models/Elevator
$PROG docgen --tex -q --outputdir=$OUTDIR models/Elevator
cp doc/bsymb.sty $OUTDIR
xelatex -output-directory=$OUTDIR -aux-directory=$OUTDIR -interaction=batchmode -halt-on-error $OUTDIR/Elevator.tex > $OUTDIR/tmp 2>&1

Expand Down
2 changes: 1 addition & 1 deletion tests/test_projections.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mkdir -p $OUTDIR

INFO="Tested projections."

$PROG docgen -q tex models/Projections
$PROG docgen --tex -q models/Projections
if [ "$?" = "0" ]
then
echo "OK $INFO"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_setcomprehensions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ OUTDIR="$DIR/$TESTNAME"
mkdir -p $OUTDIR

INFO="Test parsing of set comprehension."
$PROG docgen -q --outputdir=$OUTDIR tex models/SetComprehensions
$PROG docgen --tex -q --outputdir=$OUTDIR models/SetComprehensions
if [ "$?" = "0" ]
then
echo "OK $INFO"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_simpletheory.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ OUTDIR="$DIR/$TESTNAME"
mkdir -p $OUTDIR

INFO="Generated simple theory tex file."
$PROG docgen -q --outputdir=$OUTDIR tex models/SimpleTheoryTest
$PROG docgen --tex -q --outputdir=$OUTDIR models/SimpleTheoryTest
cp doc/bsymb.sty $OUTDIR
xelatex -output-directory=$OUTDIR -aux-directory=$OUTDIR -interaction=batchmode -halt-on-error $OUTDIR/SimpleTheoryTest.tex > $OUTDIR/tmp 2>&1

Expand Down
2 changes: 1 addition & 1 deletion tests/test_wellcommented.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ OUTDIR="$DIR/$TESTNAME"
mkdir -p $OUTDIR

INFO="Generated well commented tex file."
$PROG docgen -q --outputdir=$OUTDIR tex models/WellCommented
$PROG docgen --tex -q --outputdir=$OUTDIR models/WellCommented
cp doc/bsymb.sty $OUTDIR
xelatex -output-directory=$OUTDIR -aux-directory=$OUTDIR -interaction=batchmode -halt-on-error $OUTDIR/WellCommented.tex > $OUTDIR/tmp 2>&1

Expand Down

0 comments on commit bbc0c0c

Please sign in to comment.