Something went wrong. Try again.
Gleam utilities I regularly use while developing in gleam
devutils test lint gleam
Something went wrong. Try again.
392 B · 18 lines
Erlang
at trunk
12345678910111213141516171819-module(parallel_gleeunit_ffi).
-export([run_eunit/2]).
run_eunit(Tests, Options) -> case code:which(eunit) of non_existing -> gleeunit@internal@reporting:eunit_missing(); _ -> case eunit:test({inparallel, Tests}, Options) of ok -> {ok, nil}; error -> {error, nil}; {error, Term} -> {error, Term} end end.