Skip to content

Commit

Permalink
alcotest: reraise Skip
Browse files Browse the repository at this point in the history
  • Loading branch information
Khady authored Dec 25, 2024
1 parent 914f37d commit 2bf5c17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions alcotest/junit_alcotest.ml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ let wrap_test ?classname handle_result (name, s, test) =
exn_msg
|> handle_result;
raise exn
| Alcotest_engine__Core.Skip ->
Junit.Testcase.skipped ~name ~classname ~time:0. |> handle_result
| Alcotest_engine__Core.Skip as exn ->
Junit.Testcase.skipped ~name ~classname ~time:0. |> handle_result;
raise exn
| exn ->
let exn_msg = Printexc.to_string exn in
Junit.Testcase.error
Expand Down

0 comments on commit 2bf5c17

Please sign in to comment.