|
Ran
|
Jobs
1
|
Files
520
|
Run time
2min
|
Badge
README BADGES
|
push
github
test: encapsulate test dependencies in test dir as symlinks In the scope of introducing GitLab CI for Tarantool EE we're going to build, test, pack and publish the bundles on our own. In addition to the binary bundle, where executable and include files are places, it's required to introduce the new test bundle, which includes all tests in order to allow users to download it and run tests, so that they can make sure, everything works on their own. In that test bundle we place all existing test sources, compiled ctests and so libraries and all the dependencies, needed for running these tests. However, currently a lot of tests depends on files, which are not located in the `test` directory. It's dirty and difficult to maintain packing a lot of directories to the test bundle, so it was decided to soft link all the test dependencies to the test dir. This commit implements exactly that. The following tests are changed: * `http_client_unit_test` - requires `src/lua/httpc.lua` file; * `uri_unit_test` - requires `src/lua/uri.lua` file; * config `basic_test` and `sources_test` - requires examples dir; * 'checks_test' - requires 'test' dir from third_party; * 'metrics-luatest' - same as 'checks'. The CI itself just does `rsync -L` to copy the test directory and transform all symlinks into referent file/dir. The `tnt_debug_getsources_test` file is an exception and will be completely excluded from the test bundle, since it requires too many source files and we don't add sources there. NO_DOC=test NO_CHANGELOG=test (cherry picked from commit bd9d8e902)
68828 of 116375 branches covered (59.14%)
103538 of 118183 relevant lines covered (87.61%)
1635873.5 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 1 |
91.22 |
-0.03% | src/box/box.cc |
| 1 |
96.32 |
-0.18% | src/box/relay.cc |
| 1 |
95.84 |
-0.12% | src/box/replication.cc |
| 1 |
84.26 |
-0.03% | src/box/xlog.c |
| 1 |
97.41 |
-0.85% | src/lib/vclock/vclock.c |
| 1 |
74.87 |
-0.25% | src/main.cc |
| 2 |
95.84 |
-0.11% | src/box/iproto.cc |
| 2 |
87.28 |
-0.02% | src/box/vy_run.c |
| 3 |
94.15 |
-0.53% | src/box/vy_range.c |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 23496110903.1 | 520 |
87.61 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|