[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Tue, 3 Jan 2023 08:47:19 -0500 (EST) |
branch: master
commit 1420f6ac2ad5a90d6f17e44b2ce9adaac0e45bfc
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Jan 3 14:47:06 2023 +0100
* tp/t/94htmlxref.t: set 'FORMAT_MENU' once for all the tests, do not
set explicitly 'NODE_FILES'.
---
ChangeLog | 5 +++++
tp/t/94htmlxref.t | 19 ++++++++++---------
2 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2eedec3c6d..ff6b8217de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2023-01-03 Patrice Dumas <pertusus@free.fr>
+
+ * tp/t/94htmlxref.t: set 'FORMAT_MENU' once for all the tests, do not
+ set explicitly 'NODE_FILES'.
+
2023-01-03 Patrice Dumas <pertusus@free.fr>
* tp/Makefile.tres, tp/t/94htmlxref.t: do not use texi2html style,
diff --git a/tp/t/94htmlxref.t b/tp/t/94htmlxref.t
index 665dd35897..a456e829de 100644
--- a/tp/t/94htmlxref.t
+++ b/tp/t/94htmlxref.t
@@ -10,43 +10,44 @@ my @test_cases = (
undef, {'test_file' => 'test_refs.texi' },
{'HTMLXREF_FILE' => 'htmlxref.cnf',
'SPLIT' => '', 'NODE_NAME_IN_MENU' => 0,
- 'USE_NODES' => 0, 'FORMAT_MENU' => 'menu'}
+ 'USE_NODES' => 0}
],
['htmlxref_nodes',
undef, {'test_file' => 'test_refs.texi' },
{'HTMLXREF_FILE' => 'htmlxref.cnf',
- 'SPLIT' => 'node', 'FORMAT_MENU' => 'menu',
- 'USE_NODES' => 1, 'NODE_FILES' => 1}
+ 'SPLIT' => 'node',,
+ 'USE_NODES' => 1}
],
['htmlxref_only_mono',
undef, {'test_file' => 'test_refs.texi' },
{'HTMLXREF_FILE' => 'htmlxref-mono.cnf',
'SPLIT' => '', 'NODE_NAME_IN_MENU' => 0,
- 'USE_NODES' => 0, 'FORMAT_MENU' => 'menu'}
+ 'USE_NODES' => 0}
],
['htmlxref_only_mono_nodes',
undef, {'test_file' => 'test_refs.texi' },
{'HTMLXREF_FILE' => 'htmlxref-mono.cnf',
- 'SPLIT' => 'node', 'FORMAT_MENU' => 'menu',
- 'USE_NODES' => 1, 'NODE_FILES' => 1}
+ 'SPLIT' => 'node',
+ 'USE_NODES' => 1}
],
['htmlxref_only_split',
undef, {'test_file' => 'test_refs.texi' },
{'HTMLXREF_FILE' => 'htmlxref-split.cnf',
'SPLIT' => '', 'NODE_NAME_IN_MENU' => 0,
- 'USE_NODES' => 0, 'FORMAT_MENU' => 'menu'}
+ 'USE_NODES' => 0}
],
['htmlxref_only_split_nodes',
undef, {'test_file' => 'test_refs.texi' },
{'HTMLXREF_FILE' => 'htmlxref-split.cnf',
- 'SPLIT' => 'node', 'FORMAT_MENU' => 'menu',
- 'USE_NODES' => 1, 'NODE_FILES' => 1}
+ 'SPLIT' => 'node',
+ 'USE_NODES' => 1}
],
);
foreach my $test (@test_cases) {
push @{$test->[2]->{'test_formats'}}, 'file_html';
+ $test->[3]->{'FORMAT_MENU'} = 'menu';
}
our ($arg_test_case, $arg_generate, $arg_debug);