[MDEV-12249] MariaRocks: find a way to handle paths to scripts/includes in MTR Created: 2017-03-13 Updated: 2017-04-03 Resolved: 2017-04-03 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - RocksDB |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Critical |
| Reporter: | Sergei Petrunia | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
MyRocks tests have and use (with shell or perl) extra files. Examples: rocksdb/t/compact_deletes_test.inc has
Or storage/rocksdb/mysql-test/rocksdb/t/bloomfilter.inc has this piece
Specifying relative paths works for the case when one runs tests from the source tree. However, the relative paths are different when one runs tests from the installed server (made with e.g. 'make install' or installing packages). This causes failures like this:
|
| Comments |
| Comment by Sergei Petrunia [ 2017-03-13 ] | |||||||||||||
|
Discussed solutions: | |||||||||||||
| Comment by Sergei Petrunia [ 2017-03-13 ] | |||||||||||||
|
Note: The bloomfilter_table_def.tmpl case can be handled by switching it to using .inc file approach like other tests do:
The source command searches for file in the testsuite dir also so the problem goes away. | |||||||||||||
| Comment by Sergei Petrunia [ 2017-03-13 ] | |||||||||||||
|
Other cases: http://buildbot.askmonty.org/buildbot/builders/kvm-bintar-trusty-amd64/builds/423/steps/test/logs/stdio
...
I think, there are more. I dont have a complete list handy | |||||||||||||
| Comment by Sergei Golubchik [ 2017-03-20 ] | |||||||||||||
|
I've fixed all that already |