Просмотр исходного кода

Fix h2spec_SUITE init_per_suite return values

Loïc Hoguin 5 лет назад
Родитель
Сommit
ea976f02e0
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      test/h2spec_SUITE.erl

+ 2 - 2
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()},