Commit 415ca8e
committed
Use luatest from parent directory if available
Currently, test-run requires luatest to be installed from rocks.
It is okay for most tarantool-based projects but it isn't really
convenient for tarantool itself: in order to install luatest from rocks,
one has to install the tt and tarantool packages because tt will refuse
to install anything from rocks if tarantool binary or headers are
unavailable. This means that to test a freshly built tarantool, one has
to install tarantool first, which sounds strange. True, one can make tt
use a freshly built tarantool's binary and headers, but it's tricky.
Let's instead make test-run use luatest from the parent directory and
ship luatest as a submodule in the main Tarantool repository. Note,
that if there's luatest installed from rocks in the current source tree,
it will still have a higher priority.1 parent 93b2d7f commit 415ca8e
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
3 | 21 | | |
4 | 22 | | |
5 | 23 | | |
0 commit comments