aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/vts.erl
diff options
context:
space:
mode:
authorAndrey Pampukha <andrey@erlang.org>2010-03-09 15:10:22 +0100
committerRaimo Niskanen <raimo@erlang.org>2010-06-09 16:19:10 +0200
commit5b66bed40bd374dfcaa5e5669adf338734d812a3 (patch)
treeba6d9b2c52da15664d27f43aa2b6b76522e38fd6 /lib/common_test/src/vts.erl
parent3c3360947692d8cf55d6dc2290934ec111675cde (diff)
downloadotp-5b66bed40bd374dfcaa5e5669adf338734d812a3.tar.gz
otp-5b66bed40bd374dfcaa5e5669adf338734d812a3.tar.bz2
otp-5b66bed40bd374dfcaa5e5669adf338734d812a3.zip
Add test suites for configuration
Diffstat (limited to 'lib/common_test/src/vts.erl')
-rw-r--r--lib/common_test/src/vts.erl8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/common_test/src/vts.erl b/lib/common_test/src/vts.erl
index ad4845a7c3..c94a796ab8 100644
--- a/lib/common_test/src/vts.erl
+++ b/lib/common_test/src/vts.erl
@@ -161,10 +161,12 @@ init(Parent) ->
loop(State) ->
receive
{{init_data,ConfigFiles,EvHandlers,LogDir,Tests},From} ->
- ct_install(State),
+ ct:pal("State#state.current_log_dir=~p", [State#state.current_log_dir]),
+ NewState = State#state{config=ConfigFiles,event_handler=EvHandlers,
+ current_log_dir=LogDir,tests=Tests},
+ ct_install(NewState),
return(From,ok),
- loop(#state{config=ConfigFiles,event_handler=EvHandlers,
- current_log_dir=LogDir,tests=Tests});
+ loop(NewState);
{start_page,From} ->
return(From,start_page1()),
loop(State);