diff options
author | Tobias Schlager <[email protected]> | 2014-02-18 12:33:31 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2014-02-24 11:02:14 +0100 |
commit | 841addf5d64a3b4775cd1d0a5aa4bf04ec4ef95e (patch) | |
tree | bc0150664c476b7bcee1e8d490e2eef5e5ec1dc3 /lib/otp_mibs | |
parent | e13698de39397b8adf774467ff4c9c9b8e22bd3a (diff) | |
download | otp-841addf5d64a3b4775cd1d0a5aa4bf04ec4ef95e.tar.gz otp-841addf5d64a3b4775cd1d0a5aa4bf04ec4ef95e.tar.bz2 otp-841addf5d64a3b4775cd1d0a5aa4bf04ec4ef95e.zip |
Add test suites performing app and appup file checks
Add the mentioned test suites for *all* library and touched
non-library applications.
Diffstat (limited to 'lib/otp_mibs')
-rw-r--r-- | lib/otp_mibs/test/otp_mibs_SUITE.erl | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/lib/otp_mibs/test/otp_mibs_SUITE.erl b/lib/otp_mibs/test/otp_mibs_SUITE.erl index 5fd52ac2ac..5376c54210 100644 --- a/lib/otp_mibs/test/otp_mibs_SUITE.erl +++ b/lib/otp_mibs/test/otp_mibs_SUITE.erl @@ -45,7 +45,7 @@ end_per_testcase/2]). % Test cases must be exported. --export([nt_basic_types/1, nt_high_reduction_count/1]). +-export([app/1, appup/1, nt_basic_types/1, nt_high_reduction_count/1]). -define(TRAP_UDP, 5000). -define(AGENT_UDP, 4000). @@ -75,9 +75,10 @@ end_per_testcase(_Case, Config) when is_list(Config) -> suite() -> [{ct_hooks,[ts_install_cth]}, {require, snmp_mgr_agent, snmp}]. -all() -> [{group, node_table}]. +all() -> [{group, app}, {group, node_table}]. -groups() -> [{node_table, [], [nt_basic_types, nt_high_reduction_count]}]. +groups() -> [{app, [], [app, appup]}, + {node_table, [], [nt_basic_types, nt_high_reduction_count]}]. init_per_group(_GroupName, Config) -> Config. @@ -118,6 +119,14 @@ end_per_suite(Config) -> %% Test cases %%--------------------------------------------------------------------- +%% Test that the otp_mibs app file is ok +app(Config) when is_list(Config) -> + ok = ?t:app_test(otp_mibs). + +%% Test that the otp_mibs appup file is ok +appup(Config) when is_list(Config) -> + ok = ?t:appup_test(otp_mibs). + nt_basic_types(suite) -> []; nt_basic_types(doc) -> |