[Tarantool-patches] [PATCH 2/2] test: disable jit related tests at FreeBSD

Sergey Kaplun skaplun at tarantool.org
Wed Oct 14 20:03:59 MSK 2020


This patch fixes the regression introduced in scope of
5a61e1ab54b5c66bfebd836db1ac47996611e065 ('misc: add C and Lua API for
platform metrics').

As far as newly added tests include trace checks and
https://github.com/tarantool/tarantool/issues/4819 (JIT fails to
allocate mcode memory on FreeBSD) has not resolved yet, this tests
should be disabled to for running on FreeBSD.

Follows up tarantool/tarantool#5187
---
 test/misclib-getmetrics-capi.skipcond | 7 +++++++
 test/misclib-getmetrics-lapi.skipcond | 7 +++++++
 2 files changed, 14 insertions(+)
 create mode 100644 test/misclib-getmetrics-capi.skipcond
 create mode 100644 test/misclib-getmetrics-lapi.skipcond

diff --git a/test/misclib-getmetrics-capi.skipcond b/test/misclib-getmetrics-capi.skipcond
new file mode 100644
index 0000000..2a2ec4d
--- /dev/null
+++ b/test/misclib-getmetrics-capi.skipcond
@@ -0,0 +1,7 @@
+import platform
+
+# Disabled on FreeBSD due to #4819.
+if platform.system() == 'FreeBSD':
+    self.skip = 1
+
+# vim: set ft=python:
diff --git a/test/misclib-getmetrics-lapi.skipcond b/test/misclib-getmetrics-lapi.skipcond
new file mode 100644
index 0000000..2a2ec4d
--- /dev/null
+++ b/test/misclib-getmetrics-lapi.skipcond
@@ -0,0 +1,7 @@
+import platform
+
+# Disabled on FreeBSD due to #4819.
+if platform.system() == 'FreeBSD':
+    self.skip = 1
+
+# vim: set ft=python:
-- 
2.28.0



More information about the Tarantool-patches mailing list