[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[6762] list input file for new test
From: |
Gavin D. Smith |
Subject: |
[6762] list input file for new test |
Date: |
Sat, 07 Nov 2015 16:39:46 +0000 |
Revision: 6762
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6762
Author: gavin
Date: 2015-11-07 16:39:46 +0000 (Sat, 07 Nov 2015)
Log Message:
-----------
list input file for new test
Modified Paths:
--------------
trunk/ChangeLog
trunk/tp/Makefile.am
trunk/tp/t/README
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2015-11-07 16:10:01 UTC (rev 6761)
+++ trunk/ChangeLog 2015-11-07 16:39:46 UTC (rev 6762)
@@ -1,5 +1,11 @@
2015-11-07 Gavin Smith <address@hidden>
+ * tp/Makefile.am (test_files): Add east_asian_in_w.texi.
+ * tp/t/README: Mention listing test input files in Makefile.am.
+ Mention another way of running a single test.
+
+2015-11-07 Gavin Smith <address@hidden>
+
* tp/Texinfo/Convert/XSParagraph/Makefile.am (EXTRA_DIST): Add
fail.pl.
Modified: trunk/tp/Makefile.am
===================================================================
--- trunk/tp/Makefile.am 2015-11-07 16:10:01 UTC (rev 6761)
+++ trunk/tp/Makefile.am 2015-11-07 16:39:46 UTC (rev 6762)
@@ -164,6 +164,7 @@
t/input_files/contents_no_section.texi \
t/input_files/cpp_lines.texi \
t/input_files/delcomment.texi \
+ t/input_files/east_asian_in_w.texi \
t/input_files/empty_lines_at_beginning_no_setfilename.texi \
t/input_files/empty_lines_at_beginning_no_setfilename_no_element.texi \
t/input_files/japanese_utf8.texi \
Modified: trunk/tp/t/README
===================================================================
--- trunk/tp/t/README 2015-11-07 16:10:01 UTC (rev 6761)
+++ trunk/tp/t/README 2015-11-07 16:39:46 UTC (rev 6762)
@@ -20,6 +20,10 @@
perl -w t/03coverage_braces.t
+Another way, which works when doing an out-of-source build, is
+
+ make check TESTS=t/03coverage_braces.t
+
Most test files use a testing infrastructure from t/test_utils.pl. In
that case the reference output files for the test of a test category
$test_category.t file are in t/results/$test_category/. For example, if
@@ -48,7 +52,8 @@
perl -w t/03coverage_braces.t -g test_image
Some tests under this directory use input files in the 'input_files'
-subdirectory.
+subdirectory. When adding a test that uses an input file, add its path
+to tp/Makefile.am.
For some tests, as well as a .pl file as usual in results/*/, actual
output files are generated. For those tests, there are directories with
@@ -64,7 +69,7 @@
"./maintain/all_tests.sh diff" makes a diff of all resulting files
against references.
-From the top directory, you can also create texinfo files corresponding with
+From the top directory, you can also create texinfo files corresponding to
tests by running something along the lines of:
perl -w t/60macro.t -c
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [6762] list input file for new test,
Gavin D. Smith <=