aboutsummaryrefslogtreecommitdiff
path: root/test/testutil.lua
diff options
context:
space:
mode:
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 cb8ff5ed49..b4055e2549 100644
--- a/test/testutil.lua
+++ b/test/testutil.lua
@@ -418,6 +418,10 @@ function M.is_arch(s)
return s == architecture
end
+function M.is_asan()
+ return M.paths.is_asan
+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'))