diff options
author | John Högberg <john@erlang.org> | 2023-05-12 10:26:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-12 10:26:38 +0200 |
commit | 8305dd5e2b962ada3403a6fc0c600367afdfec5e (patch) | |
tree | 6ed8c0aaf060738a3209f1a94993f0336fba6e5a | |
parent | 38174e548ba5326c78484182b449aad6396460e1 (diff) | |
parent | b77a99a3a5fc1d059759107d819afceca7eecbdf (diff) | |
download | erlang-8305dd5e2b962ada3403a6fc0c600367afdfec5e.tar.gz |
Merge pull request #7223 from jhogberg/john/erts/cuddle-jmsingle-core-dumps-openbsd
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"), |