12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- use strict;
- use File::Spec;
- BEGIN { if (defined($ENV{'top_srcdir'})) {unshift @INC, File::Spec->catdir($ENV{'top_srcdir'}, 'tp');} }
- require 't/test_utils.pl';
- # special docbook quotations are tested for in 181quotation.t
- my @test_cases = (
- ['empty_quotation_with_arg_followed_by_quotation',
- '@quotation something
- @end quotation
- @quotation
- In quotation
- @end quotation
- '],
- ['special_docbook_unnumbered',
- '@node Top
- @top top
- This is the top.
- @menu
- * Dedication::
- * preface::
- * glossary::
- * acknowledgements::
- @end menu
- @node Dedication
- @unnumbered a dedication
- Dedicated
- @node preface
- @unnumbered The Preface
- Preface.
- @node colophon
- @unnumbered A colophon
- Glossary
- @node acknowledgements
- @chapter A chapter Acnkowledgements
- Ack!
- ']
- );
- foreach my $test (@test_cases) {
- $test->[2]->{'test_formats'} = ['docbook'];
- }
- our ($arg_test_case, $arg_generate, $arg_debug);
- run_all ('docbook_tests', [@test_cases], $arg_test_case,
- $arg_generate, $arg_debug);
- 1;
|