diff options
author | Philipp Haller <hallerp@gmail.com> | 2010-02-10 17:11:11 +0000 |
---|---|---|
committer | Philipp Haller <hallerp@gmail.com> | 2010-02-10 17:11:11 +0000 |
commit | 06ae221de943d7258dfa2ffcbc6c59fe9493497f (patch) | |
tree | b7298d83d792bb15f88a20b1683a140b9fc21872 /src | |
parent | 4de81a05b3cc682a92eb43fb023314d580f639fb (diff) | |
download | scala-06ae221de943d7258dfa2ffcbc6c59fe9493497f.tar.gz scala-06ae221de943d7258dfa2ffcbc6c59fe9493497f.tar.bz2 scala-06ae221de943d7258dfa2ffcbc6c59fe9493497f.zip |
partest no longer treats remaining .log files a...
partest no longer treats remaining .log files as tests. No review
necessary.
Diffstat (limited to 'src')
-rw-r--r-- | src/partest/scala/tools/partest/PartestTask.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/partest/scala/tools/partest/PartestTask.scala b/src/partest/scala/tools/partest/PartestTask.scala index 4b023e7b73..ffcd7e4b59 100644 --- a/src/partest/scala/tools/partest/PartestTask.scala +++ b/src/partest/scala/tools/partest/PartestTask.scala @@ -133,9 +133,9 @@ class PartestTask extends Task { if (fileSet.isEmpty) Array() else { val files = fileSet.get - files.getDirectoryScanner(getProject).getIncludedFiles map { - fs => new File(files.getDir(getProject), fs) - } + files.getDirectoryScanner(getProject).getIncludedFiles.map( + fs => new File(files.getDir(getProject), fs) + ).filter(file => !file.getCanonicalPath().endsWith(".log")) } private def getFilesAndDirs(fileSet: Option[FileSet]): Array[File] = |