[K/N][test] Implement shared test execution of TestCases
Added the ability to execute multiple tests once and share the results. With Test runner turned on tests are being compiled into the single executable. Then they executed each one separately using --ktest_* options. This commit makes test run executable once and the result goes to the result handler.
This commit is contained in:
committed by
Space Team
parent
e3b7366b10
commit
07422d4feb
@@ -27,6 +27,7 @@ private enum class TestProperty(shortName: String) {
|
||||
CACHE_MODE("cacheMode"),
|
||||
EXECUTION_TIMEOUT("executionTimeout"),
|
||||
SANITIZER("sanitizer"),
|
||||
SHARED_TEST_EXECUTION("sharedTestExecution"),
|
||||
TEAMCITY("teamcity");
|
||||
|
||||
val fullName = "kotlin.internal.native.test.$shortName"
|
||||
@@ -195,6 +196,7 @@ fun Project.nativeTest(
|
||||
compute(CACHE_MODE)
|
||||
compute(EXECUTION_TIMEOUT)
|
||||
compute(SANITIZER)
|
||||
compute(SHARED_TEST_EXECUTION)
|
||||
|
||||
// Pass whether tests are running at TeamCity.
|
||||
computePrivate(TEAMCITY) { kotlinBuildProperties.isTeamcityBuild.toString() }
|
||||
|
||||
Reference in New Issue
Block a user