New translations running-tests.mdx (Russian)

[ci skip]
This commit is contained in:
2026-07-06 02:21:56 +08:00
parent facf44ddc3
commit b36d6a2109

View File

@@ -1,8 +1,8 @@
--- ---
sidebar_label: Running tests sidebar_label: Запуск тестов
--- ---
# Running Tests # Запуск тестов
## Execution ## Execution
@@ -15,12 +15,12 @@ Builds the project, then compiles and runs test files from `tests/`.
## Profiles ## Profiles
```bash ```bash
dcr test # debug (default) dcr test # debug (по умолчанию)
dcr test --release # release dcr test --release # release
dcr test --debug # explicit debug dcr test --debug # явно debug
``` ```
## Output ## Вывод
``` ```
===================== =====================
@@ -33,13 +33,13 @@ FAIL: 1
===================== =====================
``` ```
## Exit code ## Код возврата
* 0 — all tests passed (FAIL = 0) * 0 — все тесты пройдены (FAIL = 0)
* 1 — test failures or build error * 1 — есть упавшие тесты
## What gets built ## What gets built
* All `.c` files from `tests/` (`.cpp` not supported) * Все C/C++ файлы из `tests/`
* Include path: `tests/` (for `dcr_test.h`) * Include path: `tests/` (для `dcr_test.h`)
* Linked with project if `package.type = "lib"` or `kind = "staticlib"`/`"sharedlib"` * Линкуется с основным проектом (если `type = "lib"`)