test.pl - go through all child directories

Fixes a bug where test.pl would ignore directories that contain
valid tests (*.desc and *.java combo) and only test those directories
that contained a file with exact name "test.desc".
This commit is contained in:
Lukasz A.J. Wrona 2017-08-01 15:21:24 +01:00
parent 657ca67362
commit b1531d9528
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ sub dirs() {
my @list;
opendir CWD, ".";
@list = grep { !/^\./ && -d "$_" && !/CVS/ && -s "$_/test.desc" } readdir CWD;
@list = grep { !/^\./ && -d "$_" && !/CVS/ } readdir CWD;
closedir CWD;
@list = sort @list;