| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
| |
https://clubs.at.yandex-team.ru/arcadia/29404
|
|
|
|
| |
https://clubs.at.yandex-team.ru/arcadia/29404
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This reverts commit ca272f12fdd0e8d5c3e957fc87939148f1caaf72, reversing
changes made to 49f8acfc8b0b5c0071b804423bcf53fda26c7c12.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit is formed by the following script: https://paste.yandex-team.ru/6f92e4b8-efc5-4d34-948b-15ee2accd7e7/text.
This commit has zero effect on all projects that depend on YQL.
The summary of changes:
- `yql/providers/yt -> ydb/library/yql/providers/yt `- the whole implementation of YT provider is moved into YDB code base for further export as a part of YT YQL plugin shared library;
- `yql/providers/stat/{expr_nodes,uploader} -> ydb/library/yql/providers/stat/{expr_nodes,uploader}` - a small interface without implementation and the description of stat expr nodes;
- `yql/core/extract_predicate/ut -> ydb/library/yql/core/extract_predicate/ut`;
- `yql/core/{ut,ut_common} -> ydb/library/yql/core/{ut,ut_common}`;
- `yql/core` is gone;
- `yql/library/url_preprocessing -> ydb/library/yql/core/url_preprocessing`.
**NB**: all new targets inside `ydb/` are under `IF (NOT CMAKE_EXPORT)` clause which disables them from open-source cmake generation and ya make build. They will be enabled in the subsequent commits.
|
| |
|
| |
|
|
|
| |
Forbid PEERDIR-ing Google Benchmark from modules other than G_BENCHMARK.
|
|
|
| |
rename Y_TEST_FILTER to Y_UNITTEST_FILTER_FILE, also --test-filter to --filter-file
|
| |
|
|
|
|
|
| |
для opensource YDB очень важно иметь возможность не запускать некоторые тесты. Сейчас это можно сделать через аргументы командой строки, но это для нас не удобно по причине того, что нам необходимо будет для включения/исключения теста запускать cmake, и конфиг для исключения тестов с CMake получается очень раздутый и не удобный.
я предлагаю добавить опцию и переменную окружения, в котором будет передаваться имя файла со списком enabled/disabled тестов.
|
| |
|
| |
|
|
|
| |
Update tools: yexport
|
|
|
|
| |
obtain global resources from context file
|
| |
|
|
|
|
|
|
|
| |
1. Закэпчуренный вывод в stderr/stdout после прогона теста вывожу в stderr/stdout полностью
2. Для xml-отчёта он обрезается, но теперь не по случайному символу, а по возможности по символу конца строки
3. Также теперь вывод печатается не первые 10 KB, а первые и последние 5 KB
4. При возникновении каких-то ошибок парсинга теста из xml-отчёта дочернего процесса текст этих ошибок трансформируется в failures теста, чтобы не пропускать их.
5. Добавлена валидация и экранирование строк для xml. Так как не все символы разрешается записывать в xml, приходится вместо запрещённых вставлять разрешённые ('?')
|
| |
|
|
|
|
| |
processor. Capture stderr/stdout logs, backtrace and time in JUnitProcesor
|
|
|
| |
Update tools: yexport
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Singleton did not allow reinitialisation, so in existing tests this line https://a.yandex-team.ru/arcadia/library/cpp/testing/common/ut/network_ut.cpp?rev=rXXXXXX#L45 did not have any effect. The tests worked just because in both tests the env var PORT_SYNC_PATH was the same and its changes did not affect the tests anyway.
As we need to change the env var NO_RANDOM_PORTS to run GetPort( port ) test, I had to make a reinitialisation method, which is now being called from inside the constructor, causing its double invocation during the tests. I could not find a better solution for Singleton(
|
| |
|
| |
|
|
|
| |
Update tools: yexport
|
| |
|
| |
|
|
|
| |
Remove test-started/test-finished events generator in utmain.cpp
|
| |
|
| |
|
|
|
| |
Update tools: yexport
|
|
|
| |
Update tools: yexport
|
| |
|
|
|
|
|
| |
Добавил хук `mapreduce/yt/tests/yt_initialize_hook` для вызова `NYT::Initialize`.
Перенес `YT_UNITTEST` на использование хука вместо кастомной `main`.
Обновил документацию и примеры использования UNITTEST и GTEST для YT.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Сейчас диагностика [readability-container-size-empty](https://releases.llvm.org/14.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/readability-container-size-empty.html) ругается на %%UNIT_ASSERT_EQUAL(s, "")%%. Можно поменять на %%UNIT_ASSERT(s.empty())%%, но у этого изменения есть как минимум 2 недостатка (дальше со слов @sobols):
- Если тест сломается и строчка станет непустой, мы не увидим красивого сообщения об ошибке, содержащего новое значение, а будет безликое сообщение про assertion failed.
- Выглядит неоднородно с соседним кодом, который проверяет на непустые строчки.
|
| |
|
| |
|
|
|
|
| |
* [cmake] Hierarchical add_subdirectroy structure
* [cmake] Support for same file compilation multiple times with different flags
|