Parse and add stdlib test results to overall statistics

This commit is contained in:
Pavel Punegov
2018-09-26 13:34:52 +03:00
committed by Pavel Punegov
parent bcb10f06f6
commit 38b15e3ece
2 changed files with 40 additions and 1 deletions
+6
View File
@@ -150,6 +150,10 @@ task resultsTask() {
results.put(it.name, it.results)
statistics.add(it.statistics)
}
tasks.withType(RunStdlibTest).matching {it.state.executed }.each {
statistics.add(it.statistics)
}
def output = ["statistics": statistics, "tests": results]
def json = JsonOutput.toJson(output)
@@ -3041,6 +3045,8 @@ task runStdlibTests(type: RunStdlibTest) {
useFilter = false
arguments = [ "--ktest_negative_regex_filter=test.collections.CollectionTest.abstractCollectionToArray" ]
runnerLogger = RunKonanTest.Logger.GTEST
finalizedBy resultsTask
}
task buildKonanTests(type: BuildKonanTest) {