aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_master.erl
diff options
context:
space:
mode:
authorPeter Andersson <[email protected]>2012-03-21 16:03:46 +0100
committerPeter Andersson <[email protected]>2012-03-21 16:03:46 +0100
commit390843117229d7d6e1e5f167aca9ea2ebe6df5f2 (patch)
tree4c01dca5f584400002e4ec573d4f7e4bdde077c3 /lib/common_test/src/ct_master.erl
parentafe7a29a54a7958ac90e44b3bee6c572792bb96b (diff)
downloadotp-390843117229d7d6e1e5f167aca9ea2ebe6df5f2.tar.gz
otp-390843117229d7d6e1e5f167aca9ea2ebe6df5f2.tar.bz2
otp-390843117229d7d6e1e5f167aca9ea2ebe6df5f2.zip
Update ct_master to use the Common Test CSS file for the logs
OTP-9973
Diffstat (limited to 'lib/common_test/src/ct_master.erl')
-rw-r--r--lib/common_test/src/ct_master.erl13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/common_test/src/ct_master.erl b/lib/common_test/src/ct_master.erl
index 2ea2ba106a..0d32bb0072 100644
--- a/lib/common_test/src/ct_master.erl
+++ b/lib/common_test/src/ct_master.erl
@@ -25,6 +25,7 @@
-export([run/1,run/3,run/4]).
-export([run_on_node/2,run_on_node/3]).
-export([run_test/1,run_test/2]).
+-export([basic_html/1]).
-export([abort/0,abort/1,progress/0]).
@@ -277,7 +278,17 @@ abort(Node) when is_atom(Node) ->
progress() ->
call(progress).
-
+%%%-----------------------------------------------------------------
+%%% @spec basic_html(Bool) -> ok
+%%% Bool = true | false
+%%%
+%%% @doc If set to true, the ct_master logs will be written on a
+%%% primitive html format, not using the Common Test CSS style
+%%% sheet.
+basic_html(Bool) ->
+ application:set_env(common_test_master, basic_html, Bool),
+ ok.
+
%%%-----------------------------------------------------------------
%%% MASTER, runs on central controlling node.
%%%-----------------------------------------------------------------