From 42d56f9ea2a64cd837e4813d7d35151efda84850 Mon Sep 17 00:00:00 2001 From: grubert Date: Sun, 2 Mar 2008 02:37:03 +0000 Subject: [PATCH] test for literal-block-env git-svn-id: https://docutils.svn.sourceforge.net/svnroot/docutils/trunk@5526 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- sandbox/grubert/runtest | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sandbox/grubert/runtest b/sandbox/grubert/runtest index 6ec826295..efe51932a 100755 --- a/sandbox/grubert/runtest +++ b/sandbox/grubert/runtest @@ -85,6 +85,12 @@ REFF="$OUTF.ref" $CMD --use-verbatim-when-possible $2 $3 $INF > $OUTF do_diff $REFF $OUTF +INF="test/tables.txt" +OUTF="$INF-literal-block-env.tex" +REFF="$OUTF.ref" +$CMD --literal-block-env="lstlisting[language=Python]" $2 $3 $INF > $OUTF +do_diff $REFF $OUTF + # table-style for TABSTYLE in "" standard booktabs nolines ; do for INF in `ls test/tables.txt` ; do @@ -126,6 +132,13 @@ REFF="$OUTF.ref" $CMD $INF > $OUTF do_diff $REFF $OUTF +CMD="$BASE_CMD --documentclass=custom" +INF=test/docinfo.txt +OUTF="$INF-custom.tex" +REFF="$OUTF.ref" +$CMD $INF > $OUTF +do_diff $REFF $OUTF + CMD="$BASE_CMD --no-doc-info" INF=test/docinfo.txt OUTF="$INF-no-info.tex" -- 2.11.4.GIT