[viff-devel] Broken build!

Janus Dam Nielsen janus.nielsen at alexandra.dk
Fri Oct 9 02:30:07 PDT 2009


Hi everybody,

> The build is broken:

That is unfortunate, thanks for notifying. I will fix it as soon as  
possible.

> Janus, you added this code to benchmark.py:
>
>  def update_args(runtime, options):
>      args = {}
>      if options.args != "":
>          for arg in options.args.split(','):
>              id, value = arg.split('=')
>              args[id] = long(value)
>          runtime.setArgs(args)
>      return runtime
Yes I did.

> What is that supposed to do?
It is supposed to be a way for providing arguments for runtimes, which  
are unique for a given runtime.

> We don't have a setArgs method anywhere,
If you use the --args commandline argument then it is your  
responsibility that the runtime you use has a proper setArgs method.

> and we don't use the Java-like CamelCase coding style anyway.
Right, I will change that, as soon as possible.

> You're not trying to parse the command line, right? (we have  
> optparse for that)
I believe that the commandline arguments should be general to all  
runtimes.

____________________________________________________

Janus Dam Nielsen

Research and Innovationspecialist, PhD.
CENTRE FOR IT-SECURITY

THE ALEXANDRA INSTITUTE LTD.

T +45 42 22 93 56
E janus.nielsen at alexandra.dk
W alexandra.dk
____________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.viff.dk/pipermail/viff-devel-viff.dk/attachments/20091009/af9f62b5/attachment.htm>


More information about the viff-devel mailing list