Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


auto_reset equivalent for incrTcl methods?

auto_reset equivalent for incrTcl methods?

auto_reset equivalent for incrTcl methods?

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.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close