From edf7319cad4bec318106564d247391f3f927bd22 Mon Sep 17 00:00:00 2001 From: Dmitriy Dolovov Date: Wed, 4 May 2022 15:03:47 +0300 Subject: [PATCH] [Native][tests] Update testing information in HACKING.md --- kotlin-native/HACKING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/kotlin-native/HACKING.md b/kotlin-native/HACKING.md index 67ae982d89b..220cd7a2410 100644 --- a/kotlin-native/HACKING.md +++ b/kotlin-native/HACKING.md @@ -87,6 +87,7 @@ To run blackbox compiler tests use: | `compilerClasspath` | The full path to the Kotlin/Native compiler classpath. If not specified, then the classpath is deduced as `${nativeHome}/konan/lib/kotlin-native-compiler-embeddable.jar`

This property allows to override the compiler itself preserving the rest of the distribution, and this way to test various backward compatibility cases. | | `target` | The name of the Kotlin/Native target under test | | `mode` | * `ONE_STAGE_MULTI_MODULE` : Compile each test file as one or many modules (depending on MODULE directives declared in the file). Produce a KLIB per each module except the last one. Finally, produce an executable file by compiling the latest module with all other KLIBs passed as -library
* `TWO_STAGE_MULTI_MODULE` (default): Compile each test file as one or many modules (depending on MODULE directives declared in the file). Produce a KLIB per each module. Finally, produce an executable file by passing the latest KLIB as -Xinclude and all other KLIBs as -library. | +| `forceStandalone ` | `false` or `true`: Whether to force running all tests with `// KIND: REGULAR` as if they were be with `// KIND: STANDALONE` | | `optimizationMode` | Compiler optimization mode: `DEBUG` (default), `OPT`, `NO` | | `memoryModel` | The memory model: `DEFAULT` (default) or `EXPERIMENTAL` | | `useThreadStateChecker` | Is thread state checker `DISABLED` (default) or `ENABLED`?

Note: Thread state checker can be enabled only in combination with `optimizationMode=DEBUG` and `memoryModel=EXPERIMENTAL`. |