|Subject:||Fixing the interpretation of $srcdir in DejaGnu|
|Date:||Wed, 21 Nov 2018 22:33:04 -0600|
|User-agent:||Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:22.214.171.124) Gecko/20090807 MultiZilla/126.96.36.199e SeaMonkey/1.1.17 Mnenhy/0.7.6.0|
At the moment that variable is named "testsuitedir" and may or may not have the same value as "srcdir". The core uses it, but it could also be useful as a transitional feature in test scripts, since a script using this variable will work independently of using Automake's srcdir value or a legacy address@hidden@/testsuite value.
Is "testsuitedir" the best name for this variable or can anyone suggest a better name, or possibly an API call to wrap it? (Maybe something like "[testsuite file <name>...]" to refer to a file within the testsuite sources, equivalent to "[file join $testsuitedir <name>...]"?)
Interestingly, the DejaGnu procedure "getdirs" excludes directories named "testsuite" from recursive searches. An alternative would be for this procedure to instead enter "testsuite" as its first step, but keeping the current behavior allows nested testsuites that use runtest recursively without having the outer runtest scan inner testsuites. This will be useful for the DejaGnu testsuite itself at a minimum.
|[Prev in Thread]||Current Thread||[Next in Thread]|