diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-02-18 15:56:50 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-18 15:56:50 +0800 |
| commit | 496eca22b37b243aba2efe8383e591ef57d27df9 (patch) | |
| tree | 8b1a148a3f0b3446ee1eb611c847a891a0c5bb0a /test/functional/vimscript/executable_spec.lua | |
| parent | 9492df027d0715e2bbd3508d6733fd6f6ca6de0b (diff) | |
test: support running functionaltests in parallel by directory (#37918)
Define a CMake target for every subdirectory of test/functional that
contains functional tests, and a functionaltest_parallel target that
depends on all those targets, allowing multiple test runners to run in
parallel.
On CI, use at most 2 parallel test runners, as using more may increase
system load and make tests unstable.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
| -rw-r--r-- | test/functional/vimscript/executable_spec.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/functional/vimscript/executable_spec.lua b/test/functional/vimscript/executable_spec.lua index a66f9cdb8a..05d249ca32 100644 --- a/test/functional/vimscript/executable_spec.lua +++ b/test/functional/vimscript/executable_spec.lua @@ -33,9 +33,15 @@ describe('executable()', function() end) it('stdpath respects shellslash', function() - eq([[build\Xtest_xdg\share\nvim-data]], call('fnamemodify', call('stdpath', 'data'), ':.')) + t.matches( + [[build\Xtest_xdg[%w_]*\share\nvim%-data]], + call('fnamemodify', call('stdpath', 'data'), ':.') + ) command('set shellslash') - eq('build/Xtest_xdg/share/nvim-data', call('fnamemodify', call('stdpath', 'data'), ':.')) + t.matches( + 'build/Xtest_xdg[%w_]*/share/nvim%-data', + call('fnamemodify', call('stdpath', 'data'), ':.') + ) end) end |
