aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2019-03-25 15:29:45 +0100
committerSverker Eriksson <[email protected]>2019-03-25 18:03:35 +0100
commitb2b35eb42805aa6182b486acd5e2963c3d42b01a (patch)
tree65eb80c5412723fab157d50879b371e96f24f654 /erts
parent54d1b47d1e845838584de9660788f2f64ad46e90 (diff)
downloadotp-b2b35eb42805aa6182b486acd5e2963c3d42b01a.tar.gz
otp-b2b35eb42805aa6182b486acd5e2963c3d42b01a.tar.bz2
otp-b2b35eb42805aa6182b486acd5e2963c3d42b01a.zip
erts: Fix binary_SUITE:cmp_old_impl
since DFLAG_BIG_CREATION became mandatory in 321dc6ee0241f802c940def174c0a77262e11f21.
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/test/binary_SUITE.erl11
1 files changed, 7 insertions, 4 deletions
diff --git a/erts/emulator/test/binary_SUITE.erl b/erts/emulator/test/binary_SUITE.erl
index 1406ddc9dc..563d60cc3f 100644
--- a/erts/emulator/test/binary_SUITE.erl
+++ b/erts/emulator/test/binary_SUITE.erl
@@ -1703,13 +1703,16 @@ error_after_yield_bad_ext_term() ->
BadAtomExt]). %% Invalid atom at the end
cmp_old_impl(Config) when is_list(Config) ->
- %% Compare results from new yielding implementations with
- %% old non yielding implementations
+ %% This test was originally a comparison with the non yielding
+ %% implementation in R16B. Since OTP 22 we can't talk distribution with such
+ %% old nodes (< 19). The test case it kept but compares with previous major
+ %% version for semantic regression test.
Cookie = atom_to_list(erlang:get_cookie()),
- Rel = "r16b_latest",
+ Rel = (integer_to_list(list_to_integer(erlang:system_info(otp_release)) - 1)
+ ++ "_latest"),
case test_server:is_release_available(Rel) of
false ->
- {skipped, "No "++Rel++" available"};
+ {skipped, "No OTP "++Rel++" available"};
true ->
{ok, Node} = test_server:start_node(list_to_atom(atom_to_list(?MODULE)++"_"++Rel),
peer,