diff options
author | Andrey Pampukha <[email protected]> | 2010-03-25 11:42:26 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-06-09 16:19:16 +0200 |
commit | 2c711e660df6683eee9cdfeb204e02f093153c36 (patch) | |
tree | 9b36be50f3d2d8d4142ca42161b6db6a058c6e11 /lib/common_test/test/ct_test_support.erl | |
parent | 63b4900da90cd0920b03a9a3dc5f8d8fdbf61ddf (diff) | |
download | otp-2c711e660df6683eee9cdfeb204e02f093153c36.tar.gz otp-2c711e660df6683eee9cdfeb204e02f093153c36.tar.bz2 otp-2c711e660df6683eee9cdfeb204e02f093153c36.zip |
Add test suites for ct_master
Also includes minor documentation updates.
Diffstat (limited to 'lib/common_test/test/ct_test_support.erl')
-rw-r--r-- | lib/common_test/test/ct_test_support.erl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/common_test/test/ct_test_support.erl b/lib/common_test/test/ct_test_support.erl index 4aa750c37f..0ce103e111 100644 --- a/lib/common_test/test/ct_test_support.erl +++ b/lib/common_test/test/ct_test_support.erl @@ -102,9 +102,16 @@ end_per_suite(Config) -> init_per_testcase(_TestCase, Config) -> {_,{_,LogDir}} = lists:keysearch(logdir, 1, get_opts(Config)), - test_server:format("See Common Test logs here:\n" + case lists:keysearch(master, 1, Config) of + false-> + test_server:format("See Common Test logs here:\n" "<a href=\"file://~s/all_runs.html\">~s/all_runs.html</a>", - [LogDir,LogDir]), + [LogDir,LogDir]); + {value, _}-> + test_server:format("See CT Master Test logs here:\n" + "<a href=\"file://~s/master_runs.html\">~s/master_runs.html</a>", + [LogDir,LogDir]) + end, Config. %%%----------------------------------------------------------------- |