Provide limited visibility into the Crucible state while inside a CrucibleSetup () #705
Labels
better-in-python
Will be fixed by switching to python frontend
type: enhancement
Issues describing an improvement to an existing feature or capability
usability
An issue that impedes efficient understanding and use
wontfix
Closed issues that we decided not to fix, but are still potentially relevant
I often find myself writing two functions to describe each struct or set of conditions, i.e. one to be used in the pre-state and one to be used in the post-state. If it were possible to know whether we were in a pre or post state (via some flag --- Are we above the
crucible_execute_func
line, or below it?) I would only have to write one function for each and test on this flag.Here is an example. The notable differences here are
crucible_precond
vs.crucible_postcond
and thebitvector_t_setup
function taking slightly different arguments.The text was updated successfully, but these errors were encountered: