mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 08:58:35 +00:00
New translations running-tests.mdx (Russian)
[ci skip]
This commit is contained in:
@@ -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"`)
|
||||||
|
|||||||
Reference in New Issue
Block a user