I suppose this:
> ReturnValue = case code:load_file(eunit) of
> {module, _} -> case eunit:test(TestSpec, Options) of
> ok -> 0; %% test passes
> _ -> 1 %% test fails
> end;
> _ -> 77 %% EUnit not found, test skipped
> end,does not work as intended. Before my proposed changes, the test would have been skipped; after my changes it is run so that it shows there was a bug.
I suppose Romain can easily uninstall EUnit and see what's wrong. Paolo
