texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Sun, 29 Sep 2024 08:42:47 -0400 (EDT)

branch: master
commit 52cbb052ddd1f92d5287cd4dffc2c0063bae25fa
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Jun 26 11:12:54 2024 +0200

    * tp/prove.sh: remove -I that are not needed with Texinfo::ModulePath
    anymore.  Comments on use of srcdir.
---
 ChangeLog   | 5 +++++
 tp/prove.sh | 8 ++++++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 8557402014..80fa3dc139 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-06-26  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/prove.sh: remove -I that are not needed with Texinfo::ModulePath
+       anymore.  Comments on use of srcdir.
+
 2024-06-26  Patrice Dumas  <pertusus@free.fr>
 
        * tp/t/no_structure_test.t, tp/t/same_parser_multiple_files.t,
diff --git a/tp/prove.sh b/tp/prove.sh
index f832fada07..1e40622024 100755
--- a/tp/prove.sh
+++ b/tp/prove.sh
@@ -8,9 +8,13 @@
 # This file is a convenience to run the t/*.t tests directly, and not
 # through the automake generated facilities.
 
-
 if [ z"$srcdir" = 'z' ]; then
   srcdir='.'
 fi
 
-prove -I "$srcdir" -I "$srcdir"/maintain/lib/Unicode-EastAsianWidth/lib/ -I 
"$srcdir"/maintain/lib/libintl-perl/lib -I 
"$srcdir"/maintain/lib/Text-Unidecode/lib/ "$srcdir"/t/*.t
+# Note that srcdir is not used directly to find modules in
+# Texinfo::ModulePath; top_srcdir or .t file name are used instead, and
+# Texinfo::ModulePath::top_srcdir is set.
+# In scripts srcdir is used to find input files used if set.  If srcdir
+# is not set it is based on Texinfo::ModulePath::top_srcdir.
+prove "$srcdir"/t/*.t



reply via email to

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