Hello TCL'ers,
Does anyone know if there is an "auto_reset" like command that also works on incrTcl methods? It appears that auto_reset only works on libraries and procs. I need something similar for incrTcl methods.
If you want the reasoning for my need, continue reading...
Thanks in advance!
I currently work on an automation infrastructure that tests embedded systems. We use incrTcl to create object for each of the devices under test (aka duts). Because the configuration APIs always change on our product, we use this TCL abstraction to safeguard our test cases from changing user-interfaces. We use GIT as our source control and switch between branches depending on what software we are testing.
But I am trying to add upgrade support into our harness. I was hoping I would be able to:
1) Load the build X onto the DUT using TCL branch X'
2) Upgrade the DUT to build Y
3) Change the TCL GIT branch to Y'
4) Reload the incrTcl methods
I thought #4 would be accomplished by using auto_reset. But it appears that this only works for procs and not itcl methods.
Does anyone know if there is an "auto_reset" like command that also works on incrTcl methods? It appears that auto_reset only works on libraries and procs. I need something similar for incrTcl methods.
If you want the reasoning for my need, continue reading...
Thanks in advance!
I currently work on an automation infrastructure that tests embedded systems. We use incrTcl to create object for each of the devices under test (aka duts). Because the configuration APIs always change on our product, we use this TCL abstraction to safeguard our test cases from changing user-interfaces. We use GIT as our source control and switch between branches depending on what software we are testing.
But I am trying to add upgrade support into our harness. I was hoping I would be able to:
1) Load the build X onto the DUT using TCL branch X'
2) Upgrade the DUT to build Y
3) Change the TCL GIT branch to Y'
4) Reload the incrTcl methods
I thought #4 would be accomplished by using auto_reset. But it appears that this only works for procs and not itcl methods.