[Native][tests] Add "force standalone tests" mode

This commit is contained in:
Dmitriy Dolovov
2022-05-04 12:22:54 +03:00
committed by Space
parent ebcbb9a6a6
commit e15000a6c2
6 changed files with 33 additions and 7 deletions
+2
View File
@@ -49,6 +49,7 @@ enum class TestProperty(shortName: String) {
COMPILER_CLASSPATH("compilerClasspath"),
TEST_TARGET("target"),
TEST_MODE("mode"),
FORCE_STANDALONE("forceStandalone"),
OPTIMIZATION_MODE("optimizationMode"),
MEMORY_MODEL("memoryModel"),
USE_THREAD_STATE_CHECKER("useThreadStateChecker"),
@@ -115,6 +116,7 @@ fun nativeTest(taskName: String, vararg tags: String) = projectTest(taskName, jU
// Pass Gradle properties as JVM properties so test process can read them.
TestProperty.TEST_TARGET.setUpFromGradleProperty(this)
TestProperty.TEST_MODE.setUpFromGradleProperty(this)
TestProperty.FORCE_STANDALONE.setUpFromGradleProperty(this)
TestProperty.OPTIMIZATION_MODE.setUpFromGradleProperty(this)
TestProperty.MEMORY_MODEL.setUpFromGradleProperty(this)
TestProperty.USE_THREAD_STATE_CHECKER.setUpFromGradleProperty(this)