mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
tests: use runtime from build for doc/tags with :help (#10479)
This is better practice in general, and allows to remove the "helptags ALL" hacks. Ref: https://github.com/neovim/neovim/issues/8824 Ref: https://github.com/neovim/neovim/commit/f1b67c3453c * Makefile: fix dependencies with regard to helptags - use the file as the main target to avoid unnecessary triggering - use "make oldtest" on Travis to ensure it gets built
This commit is contained in:
@@ -800,6 +800,11 @@ function module.parse_context(ctx)
|
||||
end, parsed)
|
||||
end
|
||||
|
||||
function module.add_builddir_to_rtp()
|
||||
-- Add runtime from build dir for doc/tags (used with :help).
|
||||
module.command(string.format([[set rtp+=%s/runtime]], module.test_build_dir))
|
||||
end
|
||||
|
||||
module = global_helpers.tbl_extend('error', module, global_helpers)
|
||||
|
||||
return function(after_each)
|
||||
|
Reference in New Issue
Block a user