aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test/install_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2010-10-12 10:51:22 +0200
committerLukas Larsson <[email protected]>2011-02-17 17:28:28 +0100
commitafda520a493cfc6dda951d0881d28190f564ec08 (patch)
treefb21b65fe9b0b1a34933ee68e869fae63f4fbaaa /erts/test/install_SUITE.erl
parentcbd5fd9daadf1f46c718774732a65cf830b64f94 (diff)
downloadotp-afda520a493cfc6dda951d0881d28190f564ec08.tar.gz
otp-afda520a493cfc6dda951d0881d28190f564ec08.tar.bz2
otp-afda520a493cfc6dda951d0881d28190f564ec08.zip
Update system tests to conform with common_test standard
Diffstat (limited to 'erts/test/install_SUITE.erl')
-rw-r--r--erts/test/install_SUITE.erl45
1 files changed, 24 insertions, 21 deletions
diff --git a/erts/test/install_SUITE.erl b/erts/test/install_SUITE.erl
index e14790bc1b..84892384aa 100644
--- a/erts/test/install_SUITE.erl
+++ b/erts/test/install_SUITE.erl
@@ -29,7 +29,7 @@
%-define(line_trace, 1).
--export([all/1, init_per_suite/1, end_per_suite/1,
+-export([all/0,groups/0,init_per_group/2,end_per_group/2, init_per_suite/1, end_per_suite/1,
init_per_testcase/2, fin_per_testcase/2]).
-export([bin_default/1,
@@ -64,26 +64,29 @@
erlang_bindir = "",
bindir_symlinks = ""}).
-need_symlink_cases() ->
- [bin_unreachable_absolute,
- bin_unreachable_relative,
- bin_same_dir,
- bin_ok_symlink,
- bin_dirname_fail,
- bin_no_use_dirname_fail].
-
-dont_need_symlink_cases() ->
- [bin_default,
- bin_default_dirty,
- bin_outside_eprfx,
- bin_outside_eprfx_dirty,
- bin_not_abs,
- bin_unreasonable_path,
- 'bin white space',
- bin_no_srcfile].
-
-all(suite) ->
- dont_need_symlink_cases() ++ need_symlink_cases().
+need_symlink_cases() ->
+[bin_unreachable_absolute, bin_unreachable_relative,
+ bin_same_dir, bin_ok_symlink, bin_dirname_fail,
+ bin_no_use_dirname_fail].
+
+dont_need_symlink_cases() ->
+[bin_default, bin_default_dirty, bin_outside_eprfx,
+ bin_outside_eprfx_dirty, bin_not_abs,
+ bin_unreasonable_path, 'bin white space',
+ bin_no_srcfile].
+
+all() ->
+dont_need_symlink_cases() ++ need_symlink_cases().
+
+groups() ->
+ [].
+
+init_per_group(_GroupName, Config) ->
+ Config.
+
+end_per_group(_GroupName, Config) ->
+ Config.
+
%%
%% The test cases