diff options
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r-- | test/functional/helpers.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index d040ff5f8c..2f76f24d84 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -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) |