mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Fix autobahn test suite report link when used in CI
This commit is contained in:
parent
fe5acb20f1
commit
3098986710
1 changed files with 1 additions and 1 deletions
|
@ -89,8 +89,8 @@ autobahn_fuzzingclient(Config) ->
|
||||||
Self = self(),
|
Self = self(),
|
||||||
spawn_link(fun() -> start_port(Config, Self) end),
|
spawn_link(fun() -> start_port(Config, Self) end),
|
||||||
receive autobahn_exit -> ok end,
|
receive autobahn_exit -> ok end,
|
||||||
|
ct:log("<h2><a href=\"log_private/reports/servers/index.html\">Full report</a></h2>~n"),
|
||||||
Report = config(priv_dir, Config) ++ "reports/servers/index.html",
|
Report = config(priv_dir, Config) ++ "reports/servers/index.html",
|
||||||
ct:log("<h2><a href=\"~s\">Full report</a></h2>~n", [Report]),
|
|
||||||
ct:print("Autobahn Test Suite report: file://~s~n", [Report]),
|
ct:print("Autobahn Test Suite report: file://~s~n", [Report]),
|
||||||
{ok, HTML} = file:read_file(Report),
|
{ok, HTML} = file:read_file(Report),
|
||||||
case length(binary:matches(HTML, <<"case_failed">>)) > 2 of
|
case length(binary:matches(HTML, <<"case_failed">>)) > 2 of
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue