#998: The --define option does not work ----------------------+----------------------------------------------------- Reporter: alibeck | Owner: Type: defect | Status: new Priority: major | Milestone: Component: Other | Version: Resolution: | Keywords: ----------------------+-----------------------------------------------------
Comment (by alibeck):
A fix is available, and checked in into the trunk, because it requires further testing.
The following changes where required:
1) in simsubs.py n the set function: disable the if condition
# if self.PresetMacros.has_key(define):
2) in simrestart.py in the functions submit and run, added the dict DefineDatabase.PresetMacros to the dict new_properties.
Doing so, it is possible to add several --defines to a simfactory submit and / or run. However, because I am not sure about any side effects of the change in simsubs, I am checking in this changes only to the trunk branch right now.
Alexander