diff options
author | Tobias Schlager <tobias.schlager@lindenbaum.eu> | 2014-02-18 12:33:31 +0100 |
---|---|---|
committer | Siri Hansen <siri@erlang.org> | 2014-02-24 11:02:14 +0100 |
commit | 841addf5d64a3b4775cd1d0a5aa4bf04ec4ef95e (patch) | |
tree | bc0150664c476b7bcee1e8d490e2eef5e5ec1dc3 /lib/odbc/test/odbc_start_SUITE.erl | |
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/odbc/test/odbc_start_SUITE.erl')
-rw-r--r-- | lib/odbc/test/odbc_start_SUITE.erl | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/odbc/test/odbc_start_SUITE.erl b/lib/odbc/test/odbc_start_SUITE.erl index e3a3440559..a7bb1d0ffe 100644 --- a/lib/odbc/test/odbc_start_SUITE.erl +++ b/lib/odbc/test/odbc_start_SUITE.erl @@ -109,8 +109,8 @@ suite() -> [{ct_hooks,[ts_install_cth]}]. all() -> case odbc_test_lib:odbc_check() of - ok -> [start]; - Other -> {skip, Other} + ok -> [app, appup, start]; + Other -> [app, appup] end. groups() -> @@ -127,6 +127,14 @@ end_per_group(_GroupName, Config) -> %% Test cases starts here. %%-------------------------------------------------------------------- +%% Test that the odbc app file is ok +app(Config) when is_list(Config) -> + ok = ?t:app_test(odbc). + +%% Test that the odbc appup file is ok +appup(Config) when is_list(Config) -> + ok = ?t:appup_test(odbc). + start(doc) -> ["Test start/stop of odbc"]; start(suite) -> |