aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2012-11-20 12:23:40 +0100
committerPeter Andersson <[email protected]>2012-11-20 12:23:40 +0100
commit3618f75a8816e119a1ed9c7ff71664f0d49f5fb7 (patch)
tree7337f6f14755ff34afdcda07af6a31edde96db49 /lib/common_test/test
parent835404bd9a65b679addb3edf8554a6e2ea77dda4 (diff)
parent8b2dcbaf0acd2350f8b3259701384e6d1a858824 (diff)
downloadotp-3618f75a8816e119a1ed9c7ff71664f0d49f5fb7.tar.gz
otp-3618f75a8816e119a1ed9c7ff71664f0d49f5fb7.tar.bz2
otp-3618f75a8816e119a1ed9c7ff71664f0d49f5fb7.zip
Merge branch 'maint'
Diffstat (limited to 'lib/common_test/test')
-rw-r--r--lib/common_test/test/ct_config_SUITE.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/common_test/test/ct_config_SUITE.erl b/lib/common_test/test/ct_config_SUITE.erl
index 1e1df908db..d92be9ec6e 100644
--- a/lib/common_test/test/ct_config_SUITE.erl
+++ b/lib/common_test/test/ct_config_SUITE.erl
@@ -88,8 +88,8 @@ require(Config) when is_list(Config) ->
DataDir = ?config(data_dir, Config),
run_test(config_static_SUITE,
Config,
- [{config, filename:join(DataDir, "config/shadow.txt")},
- {config, filename:join(DataDir, "config/config.txt")}],
+ [{config, [filename:join(DataDir, "config/shadow.txt"),
+ filename:join(DataDir, "config/config.txt")]}],
["config_static_SUITE"]).
install_config(Config) when is_list(Config) ->
@@ -174,6 +174,7 @@ run_test(Name, Config, CTConfig, SuiteNames)->
Joiner = fun(Suite) -> filename:join(DataDir, "config/test/"++Suite) end,
Suites = lists:map(Joiner, SuiteNames),
{Opts,ERPid} = setup_env({suite,Suites}, Config, CTConfig),
+
ok = ct_test_support:run(Opts, Config),
TestEvents = ct_test_support:get_events(ERPid, Config),
ct_test_support:log_events(Name,