diff options
author | Siri Hansen <[email protected]> | 2014-09-22 11:16:29 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-09-22 11:16:29 +0200 |
commit | 71e5c61fb22919b51d96c2b4e5fe12a567e0a11a (patch) | |
tree | d3cd6d59cef25e835d17c027d05e61cb3f002efc /lib/common_test/test | |
parent | 6c3ad4ae161de5029cf666f620b7254ea6bb5987 (diff) | |
parent | dcaada42d82d28e4b44fe37ab519a8bd4b318729 (diff) | |
download | otp-71e5c61fb22919b51d96c2b4e5fe12a567e0a11a.tar.gz otp-71e5c61fb22919b51d96c2b4e5fe12a567e0a11a.tar.bz2 otp-71e5c61fb22919b51d96c2b4e5fe12a567e0a11a.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/common_test/test')
-rw-r--r-- | lib/common_test/test/ct_cover_SUITE.erl | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/common_test/test/ct_cover_SUITE.erl b/lib/common_test/test/ct_cover_SUITE.erl index 47080b5577..87ba4ae1b9 100644 --- a/lib/common_test/test/ct_cover_SUITE.erl +++ b/lib/common_test/test/ct_cover_SUITE.erl @@ -76,7 +76,8 @@ all() -> cover_node_option, ct_cover_add_remove_nodes, otp_9956, - cross + cross, + export_import ]. %%-------------------------------------------------------------------- @@ -199,6 +200,20 @@ cross(Config) -> ok. +export_import(Config) -> + DataDir = ?config(data_dir,Config), + false = check_cover(Config), + CoverSpec1 = + default_cover_file_content() ++ [{export,"export_import.coverdata"}], + CoverFile1 = create_cover_file(export_import1,CoverSpec1,Config), + {ok,Events1} = run_test(export_import1,default,[{cover,CoverFile1}],Config), + check_calls(Events1,1), + CoverSpec2 = + default_cover_file_content() ++ [{import,"export_import.coverdata"}], + CoverFile2 = create_cover_file(export_import2,CoverSpec2,Config), + {ok,Events2} = run_test(export_import2,default,[{cover,CoverFile2}],Config), + check_calls(Events2,2), + ok. %%%----------------------------------------------------------------- %%% HELP FUNCTIONS |