[MCOL-4674] Fix ColumnStore to run MTR tests in a build directory Created: 2021-04-12 Updated: 2021-05-27 Resolved: 2021-04-15 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | mtr |
| Affects Version/s: | 5.6.1, 6.1.1 |
| Fix Version/s: | 5.6.1, 6.1.1 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
ColumnStore test currently do not work in a build directory.
There are three problems: 1. Dynamic library locationThe dynamic library ha_columnstore.so is generated as
.
2. Test locationTests themselves reside inside the storage/columnstore/columnstore/mtr/ directory. This is also not expected. MTR searches for tests inside /mysql-test/ subdirectories in plugins. For example, ConnectSE tests reside in storage/connect/mysql-test/connect. We should rename
to
in order to respect MariaDB location convention. 3. Test search paths in mysql-test/lib/mtr_cases.pm in the server repositoryThis problem should be fixed inside the server repository and is reported as |
| Comments |
| Comment by Roman [ 2021-04-13 ] |
|
Actually this looks like a workaround and not the long-term solution. We need to remove contents of the storage/columnstore in MDB and move CMakeLists.txt from storage/columnstore into our engine repo. The current engine repo root will be moved into src directory. With the change the new directories hierarchy in the engine repo will look like this: |