Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

auto_reset equivalent for incrTcl methods?

Status
Not open for further replies.

tktuffkid

Programmer
Dec 12, 2006
11
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top