zturner added a subscriber: zturner.
zturner added a comment.

This is great, I've been thinking about implementing the exact same thing
myself.

Is it possible to remove the need to call self.build()?  It seems like the
the wrapped_run function could do it before invoking the actual test
method.  This way a large majority of tests could be made simpler.

If you want to customize the build process, you could use a decorator like:

@build_properties(build=False)

or

@build_properties(build=True, clean=False)

or

@build_properties(dictionary={foo})

If no @build_properties decorator is present, it just calls self.build()
before invoking the test.

Thoughts?


http://reviews.llvm.org/D13028



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to