Fixed 'make distclean'
This commit is contained in:
parent
116f983b85
commit
a3ce2b9778
5 changed files with 23 additions and 10 deletions
|
@ -233,7 +233,7 @@ ScanForTestSuites(char *directoryName, char *extension)
|
|||
}
|
||||
|
||||
while(entry = readdir(directory)) {
|
||||
// discards . and .. and hidden files starting with .
|
||||
// discards . and .. and hidden files starting with dot and directories etc.
|
||||
if(strlen(entry->d_name) > 2 && entry->d_name[0] != '.' && entry->d_type == DT_REG) {
|
||||
const char *delimiters = ".";
|
||||
char *name = strtok(entry->d_name, delimiters);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue