mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 423033 - mochitest should ignore non-existent files. r=waldo, a=testonly
This commit is contained in:
parent
59b87cb822
commit
5fd8b6e96a
@ -240,7 +240,7 @@ function list(requestPath, directory, recurse)
|
||||
|
||||
// The SimpleTest directory is hidden
|
||||
var files = [file for (file in dirIter(dir))
|
||||
if (file.path.indexOf("SimpleTest") == -1)];
|
||||
if (file.exists() && file.path.indexOf("SimpleTest") == -1)];
|
||||
|
||||
// Sort files by name, so that tests can be run in a pre-defined order inside
|
||||
// a given directory (see bug 384823)
|
||||
|
Loading…
Reference in New Issue
Block a user