diff options
author | Siri Hansen <[email protected]> | 2016-03-31 12:28:37 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2016-03-31 12:28:37 +0200 |
commit | f60cccb4975b4e8035f49a6384fe25ca17380995 (patch) | |
tree | 1746534dd5228b0522c9e4f0f0bb0412a7c28b0c /lib | |
parent | b0527bc2540bf6d9179a243670f1d72b204131b8 (diff) | |
download | otp-f60cccb4975b4e8035f49a6384fe25ca17380995.tar.gz otp-f60cccb4975b4e8035f49a6384fe25ca17380995.tar.bz2 otp-f60cccb4975b4e8035f49a6384fe25ca17380995.zip |
Update crashdump_viewer_SUITE with new release numbers
After bumping to Erlang/OTP 19, R16 dumps can no longer be
created. Now we test dumps from OTP 17 and 18.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/observer/test/crashdump_viewer_SUITE.erl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/observer/test/crashdump_viewer_SUITE.erl b/lib/observer/test/crashdump_viewer_SUITE.erl index a2b96ecb88..d738a6cd2e 100644 --- a/lib/observer/test/crashdump_viewer_SUITE.erl +++ b/lib/observer/test/crashdump_viewer_SUITE.erl @@ -101,7 +101,7 @@ end_per_group(_GroupName, Config) -> init_per_suite(Config) when is_list(Config) -> delete_saved(Config), DataDir = ?config(data_dir,Config), - Rels = [R || R <- [r16b,'17'], ?t:is_release_available(R)] ++ [current], + Rels = [R || R <- ['17','18'], ?t:is_release_available(R)] ++ [current], io:format("Creating crash dumps for the following releases: ~p", [Rels]), AllDumps = create_dumps(DataDir,Rels), [{dumps,AllDumps}|Config]. @@ -606,21 +606,21 @@ dos_dump(DataDir,Rel,Dump) -> rel_opt(Rel) -> case Rel of - r16b -> [{erl,[{release,"r16b_latest"}]}]; '17' -> [{erl,[{release,"17_latest"}]}]; + '18' -> [{erl,[{release,"18_latest"}]}]; current -> [] end. dump_prefix(Rel) -> case Rel of - r16b -> "r16b_dump."; '17' -> "r17_dump."; - current -> "r18_dump." + '18' -> "r18_dump."; + current -> "r19_dump." end. compat_rel(Rel) -> case Rel of - r16b -> "+R16 "; '17' -> "+R17 "; + '18' -> "+R18 "; current -> "" end. |