ct:run_testspec/1 broken in R14A

Ulf Norell <>
Wed Aug 25 09:41:37 CEST 2010


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