diff --git a/test/tarantool-tests/gh-6065-jit-library-smoke-tests.test.lua b/test/tarantool-tests/gh-6065-jit-library-smoke-tests.test.lua new file mode 100644 index 0000000000..7110e3512b --- /dev/null +++ b/test/tarantool-tests/gh-6065-jit-library-smoke-tests.test.lua @@ -0,0 +1,11 @@ +local tap = require('tap') + +local test = tap.test('gh-6065-jit-library-smoke-tests') +test:plan(1) + +-- Just check whether LuaJIT is built with JIT support. Otherwise, +-- raises an error that is handled via and passed +-- as a second argument to the assertion. +test:ok(pcall(jit.on)) + +os.exit(test:check() and 0 or 1)