aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/test/odbc_connect_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-12-06 10:55:15 +0100
committerLukas Larsson <[email protected]>2011-02-17 17:16:53 +0100
commitd161dc2b44f29f184e60efcd460ed27b1ee0a0e1 (patch)
tree273897a8b38b1cfb07d7833d77f363956e6a524f /lib/odbc/test/odbc_connect_SUITE.erl
parent62e3328272e3bac139e765e6a5147daca02ec833 (diff)
downloadotp-d161dc2b44f29f184e60efcd460ed27b1ee0a0e1.tar.gz
otp-d161dc2b44f29f184e60efcd460ed27b1ee0a0e1.tar.bz2
otp-d161dc2b44f29f184e60efcd460ed27b1ee0a0e1.zip
Update tests to work with ts -> ct migrations script.
Diffstat (limited to 'lib/odbc/test/odbc_connect_SUITE.erl')
-rw-r--r--lib/odbc/test/odbc_connect_SUITE.erl22
1 files changed, 10 insertions, 12 deletions
diff --git a/lib/odbc/test/odbc_connect_SUITE.erl b/lib/odbc/test/odbc_connect_SUITE.erl
index 4d37a8f543..093b675fd5 100644
--- a/lib/odbc/test/odbc_connect_SUITE.erl
+++ b/lib/odbc/test/odbc_connect_SUITE.erl
@@ -40,20 +40,18 @@
%% Description: Returns documentation/test cases in this test suite
%% or a skip tuple if the platform is not supported.
%%--------------------------------------------------------------------
-all(doc) ->
- ["Tests the ability to connect and disconnet to/from the database"];
+
all(suite) ->
case odbc_test_lib:odbc_check() of
- ok -> all();
- Other -> {skip, Other}
- end.
-
-all() ->
- [not_exist_db, commit, rollback, not_explicit_commit,
- no_c_node, port_dies, control_process_dies, client_dies,
- connect_timeout, timeout, many_timeouts, timeout_reset,
- disconnect_on_timeout, connection_closed,
- disable_scrollable_cursors, return_rows_as_lists, api_missuse].
+ ok ->
+ [not_exist_db, commit, rollback, not_explicit_commit,
+ no_c_node, port_dies, control_process_dies, client_dies,
+ connect_timeout, timeout, many_timeouts, timeout_reset,
+ disconnect_on_timeout, connection_closed,
+ disable_scrollable_cursors, return_rows_as_lists, api_missuse];
+ Other ->
+ {skip, Other}
+ end.
%%--------------------------------------------------------------------
%% Function: init_per_suite(Config) -> Config