aboutsummaryrefslogtreecommitdiffstats
path: root/test/h2spec_SUITE.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-09-15 11:18:35 +0200
committerLoïc Hoguin <[email protected]>2019-09-15 11:18:35 +0200
commitea976f02e0ad3ef7ab026b141a336229aa089c42 (patch)
tree7a9332db3f1109a9832b42aa017c249cae1e317e /test/h2spec_SUITE.erl
parente28a339ccd7195d1051077210b1858af279334b5 (diff)
downloadcowboy-ea976f02e0ad3ef7ab026b141a336229aa089c42.tar.gz
cowboy-ea976f02e0ad3ef7ab026b141a336229aa089c42.tar.bz2
cowboy-ea976f02e0ad3ef7ab026b141a336229aa089c42.zip
Fix h2spec_SUITE init_per_suite return values
Diffstat (limited to 'test/h2spec_SUITE.erl')
-rw-r--r--test/h2spec_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/h2spec_SUITE.erl b/test/h2spec_SUITE.erl
index 173a7ac..2ed9df8 100644
--- a/test/h2spec_SUITE.erl
+++ b/test/h2spec_SUITE.erl
@@ -27,11 +27,11 @@ all() ->
init_per_suite(Config) ->
case os:getenv("H2SPEC") of
false ->
- skip;
+ {skip, "H2SPEC environment variable undefined."};
H2spec ->
case filelib:is_file(H2spec) of
false ->
- skip;
+ {skip, "H2SPEC executable not found."};
true ->
cowboy_test:init_http(h2spec, #{
env => #{dispatch => init_dispatch()},