TCL command quitIDE with custom error code

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

TCL command quitIDE with custom error code

923件の閲覧回数
vladislavkasik
Contributor II

Hello,

 

We have been using classic CodeWarriror 7.2 for Coldfire architecture for some time. We would like to add some tcl scripts for continuous integration building and testing using cmdIDE.exe /d. However if I call quitIDE command then return value of cmdIDE.exe is always 0. How do I quit the IDE with some specific error code so I could determine that something has gone wrong in the scripts?

 

Thank you very much for any help beforehand!

 

Vladislav

ラベル(1)
0 件の賞賛
返信
1 返信

781件の閲覧回数
jorge_a_vazquez
NXP Employee
NXP Employee

Hi vladislavkasik

Unfortunately return value of cmdIDE.exe cannot be customized, but you can check the document: CodeWarrior
Development Tools IDE 5.9 Windows, Automation Guide

it is a guide of this tool and maybe you could use the onScriptError that abort or continue the script if a command fails.


Hope this information helps you, sorry for the inconveniences that this could cause you.
Have a great day,
Jorge Alcala

0 件の賞賛
返信