From: sergeyb@tarantool.org To: tarantool-patches@dev.tarantool.org Cc: o.piskunov@tarantool.org Subject: [Tarantool-patches] [PATCH 08/11] test: mute broken tests on OpenBSD Date: Tue, 12 May 2020 15:32:28 +0300 [thread overview] Message-ID: <193332f46f96943fba52f52657ea480aac09b83d.1589284160.git.sergeyb@tarantool.org> (raw) In-Reply-To: <cover.1589284160.git.sergeyb@tarantool.org> From: Sergey Bronnikov <sergeyb@tarantool.org> Part of #4967 --- test/app-tap/fail_main.skipcond | 7 +++++++ test/app-tap/http_client.skipcond | 4 ++++ test/app-tap/popen.skipcond | 7 +++++++ test/app/cmdline.skipcond | 7 +++++++ test/app/crypto.skipcond | 4 ++-- test/app/digest.skipcond | 4 ++-- test/app/fiber.skipcond | 7 +++++++ test/app/fiber_channel.skipcond | 7 +++++++ test/app/socket.skipcond | 26 +++----------------------- test/box-py/args.test.py | 6 ++++++ test/box-tap/cfg.skipcond | 4 ++++ test/box/cfg.skipcond | 7 +++++++ test/box/net.box.skipcond | 4 ++-- test/box/net_msg_max.skipcond | 4 ++-- test/box/schema_reload.skipcond | 7 +++++++ test/box/tuple.skipcond | 7 +++++++ test/replication/sync.skipcond | 7 +++++++ test/wal_off/snapshot_stress.skipcond | 4 ++++ 18 files changed, 92 insertions(+), 31 deletions(-) create mode 100644 test/app-tap/fail_main.skipcond create mode 100644 test/app-tap/popen.skipcond create mode 100644 test/app/cmdline.skipcond create mode 100644 test/app/fiber.skipcond create mode 100644 test/app/fiber_channel.skipcond create mode 100644 test/box/cfg.skipcond create mode 100644 test/box/schema_reload.skipcond create mode 100644 test/box/tuple.skipcond create mode 100644 test/replication/sync.skipcond diff --git a/test/app-tap/fail_main.skipcond b/test/app-tap/fail_main.skipcond new file mode 100644 index 000000000..9c1ca22b1 --- /dev/null +++ b/test/app-tap/fail_main.skipcond @@ -0,0 +1,7 @@ +import platform + +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': + self.skip = 1 + +# vim: set ft=python: diff --git a/test/app-tap/http_client.skipcond b/test/app-tap/http_client.skipcond index 48e17903e..108e776c4 100644 --- a/test/app-tap/http_client.skipcond +++ b/test/app-tap/http_client.skipcond @@ -4,4 +4,8 @@ import platform if platform.system() == 'FreeBSD': self.skip = 1 +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': + self.skip = 1 + # vim: set ft=python: diff --git a/test/app-tap/popen.skipcond b/test/app-tap/popen.skipcond new file mode 100644 index 000000000..9c1ca22b1 --- /dev/null +++ b/test/app-tap/popen.skipcond @@ -0,0 +1,7 @@ +import platform + +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': + self.skip = 1 + +# vim: set ft=python: diff --git a/test/app/cmdline.skipcond b/test/app/cmdline.skipcond new file mode 100644 index 000000000..9c1ca22b1 --- /dev/null +++ b/test/app/cmdline.skipcond @@ -0,0 +1,7 @@ +import platform + +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': + self.skip = 1 + +# vim: set ft=python: diff --git a/test/app/crypto.skipcond b/test/app/crypto.skipcond index 48e17903e..9c1ca22b1 100644 --- a/test/app/crypto.skipcond +++ b/test/app/crypto.skipcond @@ -1,7 +1,7 @@ import platform -# Disabled on FreeBSD due to flaky fail #4271. -if platform.system() == 'FreeBSD': +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': self.skip = 1 # vim: set ft=python: diff --git a/test/app/digest.skipcond b/test/app/digest.skipcond index 48e17903e..9c1ca22b1 100644 --- a/test/app/digest.skipcond +++ b/test/app/digest.skipcond @@ -1,7 +1,7 @@ import platform -# Disabled on FreeBSD due to flaky fail #4271. -if platform.system() == 'FreeBSD': +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': self.skip = 1 # vim: set ft=python: diff --git a/test/app/fiber.skipcond b/test/app/fiber.skipcond new file mode 100644 index 000000000..9c1ca22b1 --- /dev/null +++ b/test/app/fiber.skipcond @@ -0,0 +1,7 @@ +import platform + +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': + self.skip = 1 + +# vim: set ft=python: diff --git a/test/app/fiber_channel.skipcond b/test/app/fiber_channel.skipcond new file mode 100644 index 000000000..9c1ca22b1 --- /dev/null +++ b/test/app/fiber_channel.skipcond @@ -0,0 +1,7 @@ +import platform + +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': + self.skip = 1 + +# vim: set ft=python: diff --git a/test/app/socket.skipcond b/test/app/socket.skipcond index 774b7e01a..9c1ca22b1 100644 --- a/test/app/socket.skipcond +++ b/test/app/socket.skipcond @@ -1,27 +1,7 @@ - -# vim: set ft=python : -import re -import os.path -import socket -import os -import tempfile import platform -test_dir = tempfile.mkdtemp(prefix='tarantool-test-socket') -test_path = os.path.join(test_dir, 'socket') - -s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) -try: - s.bind(test_path) -except: +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': self.skip = 1 -s.close() - -if os.path.exists(test_path): - os.remove(test_path) - os.rmdir(test_dir) - -# Disabled on FreeBSD due to flaky fail #4271. -if platform.system() == 'FreeBSD': - self.skip = 1 +# vim: set ft=python: diff --git a/test/box-py/args.test.py b/test/box-py/args.test.py index f89c5bb09..c0fac9038 100644 --- a/test/box-py/args.test.py +++ b/test/box-py/args.test.py @@ -2,6 +2,12 @@ import sys import os import re +# Disabled on OpenBSD due to fail #XXXX. +import platform + +if platform.system() == 'OpenBSD': + self.skip = 1 + # mask BFD warnings: https://bugs.launchpad.net/tarantool/+bug/1018356 sys.stdout.push_filter("unable to read unknown load command 0x2\d+", "") server.test_option("--help") diff --git a/test/box-tap/cfg.skipcond b/test/box-tap/cfg.skipcond index 7950a5d93..33cafc12b 100644 --- a/test/box-tap/cfg.skipcond +++ b/test/box-tap/cfg.skipcond @@ -5,4 +5,8 @@ import platform if platform.system() == 'FreeBSD': self.skip = 1 +# Disabled on OpenBSD due to fail #XXXX: +if platform.system() == 'OpenBSD': + self.skip = 1 + # vim: set ft=python: diff --git a/test/box/cfg.skipcond b/test/box/cfg.skipcond new file mode 100644 index 000000000..9c1ca22b1 --- /dev/null +++ b/test/box/cfg.skipcond @@ -0,0 +1,7 @@ +import platform + +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': + self.skip = 1 + +# vim: set ft=python: diff --git a/test/box/net.box.skipcond b/test/box/net.box.skipcond index 48e17903e..9c1ca22b1 100644 --- a/test/box/net.box.skipcond +++ b/test/box/net.box.skipcond @@ -1,7 +1,7 @@ import platform -# Disabled on FreeBSD due to flaky fail #4271. -if platform.system() == 'FreeBSD': +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': self.skip = 1 # vim: set ft=python: diff --git a/test/box/net_msg_max.skipcond b/test/box/net_msg_max.skipcond index 48e17903e..9c1ca22b1 100644 --- a/test/box/net_msg_max.skipcond +++ b/test/box/net_msg_max.skipcond @@ -1,7 +1,7 @@ import platform -# Disabled on FreeBSD due to flaky fail #4271. -if platform.system() == 'FreeBSD': +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': self.skip = 1 # vim: set ft=python: diff --git a/test/box/schema_reload.skipcond b/test/box/schema_reload.skipcond new file mode 100644 index 000000000..9c1ca22b1 --- /dev/null +++ b/test/box/schema_reload.skipcond @@ -0,0 +1,7 @@ +import platform + +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': + self.skip = 1 + +# vim: set ft=python: diff --git a/test/box/tuple.skipcond b/test/box/tuple.skipcond new file mode 100644 index 000000000..9c1ca22b1 --- /dev/null +++ b/test/box/tuple.skipcond @@ -0,0 +1,7 @@ +import platform + +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': + self.skip = 1 + +# vim: set ft=python: diff --git a/test/replication/sync.skipcond b/test/replication/sync.skipcond new file mode 100644 index 000000000..9c1ca22b1 --- /dev/null +++ b/test/replication/sync.skipcond @@ -0,0 +1,7 @@ +import platform + +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': + self.skip = 1 + +# vim: set ft=python: diff --git a/test/wal_off/snapshot_stress.skipcond b/test/wal_off/snapshot_stress.skipcond index 48e17903e..108e776c4 100644 --- a/test/wal_off/snapshot_stress.skipcond +++ b/test/wal_off/snapshot_stress.skipcond @@ -4,4 +4,8 @@ import platform if platform.system() == 'FreeBSD': self.skip = 1 +# Disabled on OpenBSD due to fail #XXXX. +if platform.system() == 'OpenBSD': + self.skip = 1 + # vim: set ft=python: -- 2.23.0
next prev parent reply other threads:[~2020-05-12 12:33 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-05-12 12:32 [Tarantool-patches] [PATCH 00/11] Add OpenBSD support sergeyb 2020-05-12 12:32 ` [Tarantool-patches] [PATCH 01/11] build: introduce openbsd build target sergeyb 2020-05-12 12:32 ` [Tarantool-patches] [PATCH 02/11] build: test pthread_stackseg_np() on OpenBSD sergeyb 2020-05-12 12:32 ` [Tarantool-patches] [PATCH 03/11] build: skip linking with -ldl " sergeyb 2020-05-12 12:32 ` [Tarantool-patches] [PATCH 04/11] Fix building of tt_pthread_attr_getstack() " sergeyb 2020-05-12 12:32 ` [Tarantool-patches] [PATCH 05/11] sql: use mremap() " sergeyb 2020-05-12 12:32 ` [Tarantool-patches] [PATCH 06/11] Include libgen.h when building " sergeyb 2020-05-12 12:32 ` [Tarantool-patches] [PATCH 07/11] say: fix compilation " sergeyb 2020-05-12 12:32 ` sergeyb [this message] 2020-05-12 12:32 ` [Tarantool-patches] [PATCH 09/11] Add README.OpenBSD sergeyb 2020-05-12 12:32 ` [Tarantool-patches] [PATCH 10/11] Mention OpenBSD as supported platorm sergeyb 2020-05-12 12:32 ` [Tarantool-patches] [PATCH 11/11][small] Add MAP_STACK to mmap() flags sergeyb 2020-05-18 18:22 ` [Tarantool-patches] [PATCH 00/11] Add OpenBSD support Cyrill Gorcunov 2020-05-20 6:41 ` Kirill Yukhin 2020-05-20 12:23 ` Sergey Bronnikov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=193332f46f96943fba52f52657ea480aac09b83d.1589284160.git.sergeyb@tarantool.org \ --to=sergeyb@tarantool.org \ --cc=o.piskunov@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH 08/11] test: mute broken tests on OpenBSD' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox