summaryrefslogtreecommitdiffstatshomepage
path: root/test/testutil.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2025-03-11 14:01:55 +0100
committerbfredl <bjorn.linse@gmail.com>2025-05-02 09:28:50 +0200
commit1f004970f00bd8ef7ad955b52857df136f82185b (patch)
treef3714cf7fcb3e8cd9ec20249c2d3ee9aef5b78c6 /test/testutil.lua
parent0ab0cdb2dabc551f836851aa85d06e927c42d92a (diff)
feat(build): build.zig MVP: build and run functionaltests on linux
NEW BUILD SYSTEM! This is a MVP implementation which supports building the "nvim" binary, including cross-compilation for some targets. As an example, you can build a aarch64-macos binary from an x86-64-linux-gnu host, or vice versa Add CI target for build.zig currently for functionaltests on linux x86_64 only Follow up items: - praxis for version and dependency bumping - windows 💀 - full integration of libintl and gettext (or a desicion not to) - update help and API metadata files - installation into a $PREFIX - more tests and linters
Diffstat (limited to 'test/testutil.lua')
-rw-r--r--test/testutil.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testutil.lua b/test/testutil.lua
index b4055e2549..da2a255d44 100644
--- a/test/testutil.lua
+++ b/test/testutil.lua
@@ -422,6 +422,10 @@ function M.is_asan()
return M.paths.is_asan
end
+function M.is_zig_build()
+ return M.paths.is_zig_build
+end
+
local tmpname_id = 0
local tmpdir = os.getenv('TMPDIR') or os.getenv('TEMP')
local tmpdir_is_local = not not (tmpdir and tmpdir:find('Xtest'))