texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: tp/tests/Makefile.am: all-checks run all tests, t


From: Patrice Dumas
Subject: branch master updated: tp/tests/Makefile.am: all-checks run all tests, tex-html-checks only specific tests
Date: Fri, 21 Jan 2022 16:03:50 -0500

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 81bd38a1fc tp/tests/Makefile.am: all-checks run all tests, 
tex-html-checks only specific tests
81bd38a1fc is described below

commit 81bd38a1fc48cc80d60960b31a91f039319b3721
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Jan 21 22:02:19 2022 +0100

    tp/tests/Makefile.am: all-checks run all tests, tex-html-checks only
    specific tests
---
 tp/tests/Makefile.am |  8 ++++++--
 tp/tests/README      | 10 +++++++++-
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/tp/tests/Makefile.am b/tp/tests/Makefile.am
index 6b54e2f88f..e8fc69dbe1 100644
--- a/tp/tests/Makefile.am
+++ b/tp/tests/Makefile.am
@@ -47,10 +47,14 @@ TESTS = $(one_test_files_generated_list)
 AM_TESTS_ENVIRONMENT = srcdir="$(srcdir)"; export srcdir; 
top_srcdir="$(top_srcdir)"; export top_srcdir; builddir="$(builddir)"; export 
buildir; top_builddir="$(top_builddir)"; export top_builddir;
 
 all-checks all-check: all
-       $(MAKE) $(AM_MAKEFLAGS) check ALL_TESTS=yes
+       $(MAKE) $(AM_MAKEFLAGS) check TEX_HTML_TESTS=yes OTHER_TESTS=yes
 
+# need to set SUBDIRS= otherwise the recursion in many_input_files
+# tries to run the tests in TESTS which do not exist in many_input_files.
+# The recursion is explicitly done after.
 tex-html-checks tex-html-check: all
-       $(MAKE) $(AM_MAKEFLAGS) check TEX_HTML_TESTS=yes
+       $(MAKE) $(AM_MAKEFLAGS) check TEX_HTML_TESTS=yes 
TESTS='$(type_tex_html_one_test_files_generated_list)' SUBDIRS=
+       cd many_input_files && $(MAKE) $(AM_MAKEFLAGS) check TEX_HTML_TESTS=yes
 
 # type_other_one_test_files_generated_list is automatically defined in
 # Makefile.onetst
diff --git a/tp/tests/README b/tp/tests/README
index e435613e13..3ad639bf31 100644
--- a/tp/tests/README
+++ b/tp/tests/README
@@ -19,7 +19,6 @@ To run this testsuite, sed, awk, diff (with -u) are used.
 For LaTeX2HTML tests (not run by default), mktemp 
 understanding the -d option is also required.
 
-
 Some tests may also require a case insensitive filesystem.
 
 
@@ -79,6 +78,11 @@ out_parser/a_test/a_test.2, stdout output is in
 out_parser/a_test/a_test.1.  All the commands called are output in 
 tests.log.
 
+Note that "make all-checks" also runs the testsuite, but also runs
+TeX4ht and LaTeX2HTML tests and other tests that are not as portable
+as the main testsuite and may require additional softwares.  See
+below for more.
+
 
 Regenerating test results
 =========================
@@ -120,6 +124,8 @@ version of these tools.
 
 These tests may be run by
   make tex-html-checks
+or, together with all the other tests by
+  make all-checks
 
 For the tests that use latex2html, to avoid the test failing if there is 
 a dot in the cwd, mktemp is used to create a temporary directory, and 
@@ -134,6 +140,8 @@ these software to be present.  The required software is 
source-highlight.
 
 These tests may be run by
   make other-checks
+or, together with all the other tests by
+  make all-checks
 
 
 Tests specification



reply via email to

[Prev in Thread] Current Thread [Next in Thread]