diff options
author | John Högberg <john@erlang.org> | 2023-05-11 17:11:51 +0200 |
---|---|---|
committer | John Högberg <john@erlang.org> | 2023-05-11 17:11:51 +0200 |
commit | b77a99a3a5fc1d059759107d819afceca7eecbdf (patch) | |
tree | 6ed8c0aaf060738a3209f1a94993f0336fba6e5a | |
parent | 38174e548ba5326c78484182b449aad6396460e1 (diff) | |
download | erlang-b77a99a3a5fc1d059759107d819afceca7eecbdf.tar.gz |
erts: Cuddle +JMsingle tests on OpenBSD
-rw-r--r-- | erts/emulator/test/jit_SUITE.erl | 12 |
1 files 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"), |