dejagnu
[Top][All Lists]
Advanced

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

PATCH: document ignored directories in "getdirs"


From: Jacob Bachmeyer
Subject: PATCH: document ignored directories in "getdirs"
Date: Mon, 10 Dec 2018 20:33:25 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.22) Gecko/20090807 MultiZilla/1.8.3.4e SeaMonkey/1.1.17 Mnenhy/0.7.6.0

This patch adds a small note to the manual listing the names of directories that "getdirs" ignores.

----
ChangeLog entry:
        * doc/dejagnu.texi (getdirs procedure): Document hard-coded
        directory exclusions by name in this procedure.
----
patch:
----
diff --git a/doc/dejagnu.texi b/doc/dejagnu.texi
index b0392ff..b5dbc0a 100644
--- a/doc/dejagnu.texi
+++ b/doc/dejagnu.texi
@@ -4793,6 +4793,15 @@ Returns a list of all the subdirectories in a single 
directory that
match a glob pattern. If no directories match the pattern, then an empty
list is returned.

+This procedure is specialized as a search for tests in
+testsuites:  @code{getdirs} ignores directories named
address@hidden, @samp{config}, or @samp{lib}, and also ignores
+directories associated with a few revision control systems,
+specifically Git (@samp{.git}), Subversion (@samp{.svn}), CVS
+(@samp{CVS}), RCS (@samp{RCS}), and SCCS (@samp{SCCS}).  These ignored
+directories will not appear in the returned list, nor will they be
+examined in a recursive search.
+
@quotation
@address@hidden @i{-all} @i{rootdir} @i{pattern}}
@end quotation
@@ -5589,5 +5598,5 @@ This makes @code{runtest} exit. Abbreviation: @kbd{q}.

@bye

address@hidden  LocalWords:  subdirectory prepend prepended testsuite filename 
Expect's
address@hidden  LocalWords:  DejaGnu
address@hidden  LocalWords:  subdirectory prepend prepended testsuite filename 
Expect's svn
address@hidden  LocalWords:  DejaGnu CVS RCS SCCS
----


-- Jacob



reply via email to

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