diff options
author | Peter Andersson <[email protected]> | 2011-04-14 18:04:30 +0200 |
---|---|---|
committer | Peter Andersson <[email protected]> | 2011-04-28 22:43:53 +0200 |
commit | 7212d250ad3383b83de814646f038f7a77373b6f (patch) | |
tree | dfb87032a2128325c57b2863fc729c81011c1823 /lib/common_test/test | |
parent | 4e1b099698aac698f89ca172b62ba2330c85ad90 (diff) | |
download | otp-7212d250ad3383b83de814646f038f7a77373b6f.tar.gz otp-7212d250ad3383b83de814646f038f7a77373b6f.tar.bz2 otp-7212d250ad3383b83de814646f038f7a77373b6f.zip |
Fix failing tests on Windows.
Diffstat (limited to 'lib/common_test/test')
-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]. |