Improve testQuick performance, restoring caching of stamps

This commit is contained in:
OlegYch 2017-10-27 19:29:19 +03:00 committed by Eugene Yokota
parent ee4dcee7cf
commit 6e29a1aa15
1 changed files with 18 additions and 15 deletions

View File

@ -766,7 +766,9 @@ object Defaults extends BuildCommon {
}
def intlStamp(c: String, analysis: Analysis, s: Set[String]): Long = {
if (s contains c) Long.MinValue
else {
else
stamps.getOrElse(
c, {
val x = {
import analysis.{ relations => rel, apis }
rel.internalClassDeps(c).map(intlStamp(_, analysis, s + c)) ++
@ -781,6 +783,7 @@ object Defaults extends BuildCommon {
}
x
}
)
}
def noSuccessYet(test: String) = succeeded.get(test) match {
case None => true