[K/N] Support running with thread sanitizer in test infra

This commit is contained in:
Pavel Kunyavskiy
2022-07-28 15:52:00 +02:00
committed by Space
parent 434872c5a9
commit 828811a47f
6 changed files with 30 additions and 4 deletions
+2 -1
View File
@@ -90,12 +90,13 @@ To run blackbox compiler tests use:
| `forceStandalone ` | If `true` then all tests with `// KIND: REGULAR` inside test data file are executed as if they were be with `// KIND: STANDALONE`. The default is `false`. |
| `compileOnly ` | If `true` then tests are fully compiled to the executable binary, but not executed afterwards. The default is `false`. |
| `optimizationMode` | Compiler optimization mode: `DEBUG` (default), `OPT`, `NO` |
| `memoryModel` | The memory model: `LEGACY` or `EXPERIMENTAL` (default) |
| `memoryModel` | The memory model: `LEGACY` or `EXPERIMENTAL` (default) |
| `useThreadStateChecker` | If `true` the thread state checker is enabled. The default is `false`.<br/><br/>Note: Thread state checker can be enabled only in combination with `optimizationMode=DEBUG`, `memoryModel=EXPERIMENTAL` and `cacheMode=NO`. |
| `gcType` | The type of GC: `UNSPECIFIED` (default), `NOOP`, `STMS`, `CMS`<br/><br/>Note: The GC type can be specified only in combination with `memoryModel=EXPERIMENTAL`. |
| `gcScheduler` | The type of GC scheduler: `UNSPECIFIED` (default), `DISABLED`, `WITH_TIMER`, `ON_SAFE_POINTS`, `AGGRESSIVE`<br/><br/>Note: The GC scheduler type can be specified only in combination with `memoryModel=EXPERIMENTAL`. |
| `cacheMode` | * `NO`: no caches <br/>* `STATIC_ONLY_DIST` (default): use only caches for libs from the distribution <br/>* `STATIC_EVERYWHERE`: use caches for libs from the distribution and generate caches for all produced KLIBs<br/><br/>Note: Any cache mode that permits using caches can be enabled only when thread state checker is disabled. |
| `executionTimeout` | Max permitted duration of each individual test execution in milliseconds |
| `sanitizer` | Run tests with sanitizer: `NONE` (default), `THREAD`. |
### Target-specific tests