[erlang-bugs] ct:run_testspec/1 broken in R14A
Peter Andersson
peppe@REDACTED
Fri Aug 27 17:33:28 CEST 2010
Ulf,
I have a good memory, but it's terribly short unfortunately...
As it turns out, I had already found and corrected this bug during R14B
development. The fix is on the dev branch on github.
Again, thanks for reporting and sorry for the inconvenience!
/Peter
Ulf Norell wrote:
> The culprit seems to be line 1141 in ct_run.erl:
>
> log_ts_names(Opts1#opts.testspecs),
>
> log_ts_names/1 expects a list of strings but is getting the testspec given
> to ct:run_testspec/1. Here's what happens:
>
> Erlang R14A (erts-5.8) [source] [smp:2:2] [rq:2] [async-threads:0] [hipe]
> [kernel-poll:false]
>
> Eshell V5.8 (abort with ^G)
> 1> ct:run_testspec([{suites, ".", all}]).
>
> Common Test starting (cwd is /tmp/test)
>
>
> Common Test: Running make in test directories...
>
>
> ct_util_server got EXIT from <0.39.0>: {badarg,
> [{io,format,
> [<0.44.0>,"~s",
> [[{suites,".",all},32]]]},
> {ct_logs,
> '-logger_loop/1-lc$^1/1-0-',2},
> {ct_logs,logger_loop,1}]}
>
> ** exception exit: badarg
> in function io:format/3
> called as io:format(<0.44.0>,"~s",[[{suites,".",all},32]])
> in call from ct_logs:'-logger_loop/1-lc$^1/1-0-'/2
> in call from ct_logs:logger_loop/1
>
> / Ulf
>
>
More information about the erlang-bugs
mailing list