aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2017-02-16 15:59:35 +0100
committerSiri Hansen <[email protected]>2017-02-20 12:40:08 +0100
commit2031e6ceb5588bbecd480f1fb9ca5026f189d7d2 (patch)
tree69c7698502976581985af26e5dea1a343a768ab7 /erts/test
parentc802f5d8d0ea08154005abfdcb0d958f126f26d1 (diff)
downloadotp-2031e6ceb5588bbecd480f1fb9ca5026f189d7d2.tar.gz
otp-2031e6ceb5588bbecd480f1fb9ca5026f189d7d2.tar.bz2
otp-2031e6ceb5588bbecd480f1fb9ca5026f189d7d2.zip
Add dummy end_per_suite/1
common_test requires that if init_per_suite/1 exists, then end_per_suite/1 must also exist. If end_per_suite/1 does not exist, then it will be marked in the log as failed with reason 'undef'. Some test suites are corrected to avoid this.
Diffstat (limited to 'erts/test')
-rw-r--r--erts/test/upgrade_SUITE.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/test/upgrade_SUITE.erl b/erts/test/upgrade_SUITE.erl
index 174c028ac7..f93da8955f 100644
--- a/erts/test/upgrade_SUITE.erl
+++ b/erts/test/upgrade_SUITE.erl
@@ -54,6 +54,10 @@ init_per_suite(Config) ->
Config
end.
+end_per_suite(_Config) ->
+ %% This function is required since init_per_suite/1 exists.
+ ok.
+
init_per_testcase(Case,Config) ->
PrivDir = filename:join([proplists:get_value(data_dir,Config),priv_dir,Case]),
CreateDir = filename:join([PrivDir,create]),