Python is powerful and we made a set of scripts to test hardware, while to run it as a daily regression, I have to run it mamually in DS-5.
I know any Python & Jython scripts could be invoked from CLI, while the scripts do have some dependency with DS-5 connection, I hope the connection engine is standalone enough.
Anybody can should me how to run it from CLI?
Hi,
Yes, I believe you can run Jython scripts from the CLI using the same "source" command that you would use in DS-5 (for instance: source jython_infostate/infostate.py). However, to be sure about the dependencies, you would be best to contact support: Self-Service
You can also run the debugger on the command line, with something like:
debugger.exe --cdb-entry <targetname> --script <scriptname>
See sections 1.4 - 1.6 of the DS-5 Debugger User Guide.