aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/test/odbc_start_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-12 11:02:18 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:28:29 +0100
commit0c640f2de05c1a540d4b398de0f1891dfad29cc3 (patch)
tree9e25e6c72df53eb7a36e37acfb9442f55ba3ad16 /lib/odbc/test/odbc_start_SUITE.erl
parent9447ff6854785cec4fc051560c36560d0b7155cc (diff)
downloadotp-0c640f2de05c1a540d4b398de0f1891dfad29cc3.tar.gz
otp-0c640f2de05c1a540d4b398de0f1891dfad29cc3.tar.bz2
otp-0c640f2de05c1a540d4b398de0f1891dfad29cc3.zip
Update odbc tests to conform with common_test standard
Diffstat (limited to 'lib/odbc/test/odbc_start_SUITE.erl')
-rw-r--r--lib/odbc/test/odbc_start_SUITE.erl24
1 files changed, 16 insertions, 8 deletions
diff --git a/lib/odbc/test/odbc_start_SUITE.erl b/lib/odbc/test/odbc_start_SUITE.erl
index 07cda38c04..168e5452a5 100644
--- a/lib/odbc/test/odbc_start_SUITE.erl
+++ b/lib/odbc/test/odbc_start_SUITE.erl
@@ -24,7 +24,7 @@
%% Note: This directive should only be used in test suites.
-compile(export_all).
--include("test_server.hrl").
+-include_lib("common_test/include/ct.hrl").
-include("test_server_line.hrl").
-include("odbc_test.hrl").
@@ -98,14 +98,22 @@ end_per_testcase(_TestCase, Config) ->
%% Name of a test case.
%% Description: Returns a list of all test cases in this test suite
%%--------------------------------------------------------------------
-all(doc) ->
- ["Test start/stop of odbc"];
+all() ->
+case odbc_test_lib:odbc_check() of
+ ok -> [start];
+ Other -> {skip, Other}
+end.
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
-all(suite) ->
- case odbc_test_lib:odbc_check() of
- ok -> [start];
- Other -> {skip, Other}
- end.
+
%% Test cases starts here.
%%--------------------------------------------------------------------