[Lldb-commits] [PATCH] D13028: [RFC] Merge dsym and dwarf test cases

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 21 15:58:09 PDT 2015


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





More information about the lldb-commits mailing list