diff options
author | Lukas Larsson <[email protected]> | 2013-05-31 11:50:22 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-05-31 11:50:32 +0200 |
commit | 9c7f77c78cb90130d9309ce8827f30287c38348f (patch) | |
tree | 62eaa0c446d249324457f088ff0c57b9761cc4ac /lib/test_server | |
parent | d56c2ab2dcb4aa9ca62a4a1bd1f614120c29ffd7 (diff) | |
download | otp-9c7f77c78cb90130d9309ce8827f30287c38348f.tar.gz otp-9c7f77c78cb90130d9309ce8827f30287c38348f.tar.bz2 otp-9c7f77c78cb90130d9309ce8827f30287c38348f.zip |
Do not fail if there is no variables file
Diffstat (limited to 'lib/test_server')
-rw-r--r-- | lib/test_server/src/ts_install_cth.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/test_server/src/ts_install_cth.erl b/lib/test_server/src/ts_install_cth.erl index 9b6e10e7e2..a75cae3c9d 100644 --- a/lib/test_server/src/ts_install_cth.erl +++ b/lib/test_server/src/ts_install_cth.erl @@ -103,7 +103,9 @@ pre_init_per_suite(_Suite,Config,State) -> end, {add_node_name(Config, State), State} - catch Error:Reason -> + catch error:{badmatch,{error,enoent}} -> + {add_node_name(Config, State), State}; + Error:Reason -> Stack = erlang:get_stacktrace(), ct:pal("~p failed! ~p:{~p,~p}",[?MODULE,Error,Reason,Stack]), {{fail,{?MODULE,{Error,Reason, Stack}}},State} |