[K/N] Mention test_compile_only in HACKING.md
This commit is contained in:
@@ -98,6 +98,9 @@ and then a final native binary is produced from this klibrary using the -Xinclud
|
||||
./gradlew -Ptest_two_stage :kotlin-native:backend.native:tests:array0
|
||||
|
||||
* **-Ptest_with_cache_kind=static|dynamic** enables using caches during testing.
|
||||
|
||||
* **-Ptest_compile_only** allows one to only compile tests, without actually running them. It is useful for testing compilation pipeline in
|
||||
case of targets that are tricky to execute tests on.
|
||||
|
||||
### Runtime unit tests
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ val Project.cacheRedirectorEnabled
|
||||
get() = findProperty("cacheRedirectorEnabled")?.toString()?.toBoolean() ?: false
|
||||
|
||||
val Project.compileOnlyTests: Boolean
|
||||
get() = hasProperty("compile-only-tests")
|
||||
get() = hasProperty("test_compile_only")
|
||||
|
||||
fun Project.redirectIfEnabled(url: String):String = if (cacheRedirectorEnabled) {
|
||||
val base = URL(url)
|
||||
|
||||
Reference in New Issue
Block a user