From b77a99a3a5fc1d059759107d819afceca7eecbdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20H=C3=B6gberg?= Date: Thu, 11 May 2023 17:11:51 +0200 Subject: erts: Cuddle +JMsingle tests on OpenBSD --- erts/emulator/test/jit_SUITE.erl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/erts/emulator/test/jit_SUITE.erl b/erts/emulator/test/jit_SUITE.erl index 8e54e277fa..efd44d31ed 100644 --- a/erts/emulator/test/jit_SUITE.erl +++ b/erts/emulator/test/jit_SUITE.erl @@ -207,11 +207,13 @@ jmsingle(Config) -> %% true/false option and fails with a non-boolean, that is, we %% parse the command line correctly. case os:type() of - {_, netbsd} -> - %% +JMsingle true does not work on NetBSD. - - %% The emulator will dump a core here, so we set the cwd - %% to a temporary directory that we delete when the test is done. + {_, BSD} when BSD =:= netbsd; + BSD =:= openbsd -> + %% +JMsingle true might not work on these platforms, and dump core + %% because the emulator cannot be started. + %% + %% Set the cwd to a temporary directory that we'll delete when the + %% test is done. {ok, Cwd} = file:get_cwd(), TestDir = filename:join(proplists:get_value(priv_dir, Config), "jmsingle"), -- cgit v1.2.1