aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-12 11:00:08 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:28:29 +0100
commit663982e3e8d2dc34353e342240fa80aca25a8923 (patch)
tree7339fbe997b4b31cf09333a5781f292471dbcf1f
parent8f7e33f5865168c737dc90b9e2e29e4da3a2edc1 (diff)
downloadotp-663982e3e8d2dc34353e342240fa80aca25a8923.tar.gz
otp-663982e3e8d2dc34353e342240fa80aca25a8923.tar.bz2
otp-663982e3e8d2dc34353e342240fa80aca25a8923.zip
Update edoc tests to conform with common_test standard
-rw-r--r--lib/edoc/test/edoc.spec2
-rw-r--r--lib/edoc/test/edoc_SUITE.erl18
2 files changed, 15 insertions, 5 deletions
diff --git a/lib/edoc/test/edoc.spec b/lib/edoc/test/edoc.spec
index 8443a28028..02e3eca8fe 100644
--- a/lib/edoc/test/edoc.spec
+++ b/lib/edoc/test/edoc.spec
@@ -1 +1 @@
-{topcase, {dir, "../edoc_test"}}.
+{suites,"edoc_test",all}.
diff --git a/lib/edoc/test/edoc_SUITE.erl b/lib/edoc/test/edoc_SUITE.erl
index ea833f89b2..e095913dc7 100644
--- a/lib/edoc/test/edoc_SUITE.erl
+++ b/lib/edoc/test/edoc_SUITE.erl
@@ -17,16 +17,26 @@
%%
-module(edoc_SUITE).
--include("test_server.hrl").
+-include_lib("test_server/include/test_server.hrl").
%% Test server specific exports
--export([all/1]).
+-export([all/0,groups/0,init_per_group/2,end_per_group/2]).
%% Test cases
-export([build_std/1]).
-all(suite) ->
- [build_std].
+all() ->
+[build_std].
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
build_std(suite) ->
[];