diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/common_test/test/ct_test_support.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/common_test/test/ct_test_support.erl b/lib/common_test/test/ct_test_support.erl index bb142696fa..d8b3daaab8 100644 --- a/lib/common_test/test/ct_test_support.erl +++ b/lib/common_test/test/ct_test_support.erl @@ -212,7 +212,11 @@ get_opts(Config) -> end, %% test_server:format("Test variables added to Config: ~p\n\n", %% [CtTestVars]), - InitOpts = proplists:get_value(ct_opts, Config), + InitOpts = + case proplists:get_value(ct_opts, Config) of + undefined -> []; + CtOpts -> CtOpts + end, [{logdir,LogDir} | InitOpts ++ CtTestVars]. |