Executing different sets of tests with hiwave

cancel
Showing results for 
Search instead for 
Did you mean: 

Executing different sets of tests with hiwave

Jump to solution
952 Views
Contributor I

Hi,

 

I am using CodeWarrior Development Studio for S12X Version 5.0

I would like to execute my program using hiwave with differents sets of tests (I mean different values for the program variables). Does anybody know how to do this?

 

Thanks by advance for your help

 

Stockalone

Labels (1)
Tags (1)
0 Kudos
1 Solution
13 Views
Specialist III

Hello

 

You should be able to write a command file implementing the whole unit test.

 

I would recommend you to look at TN24, available from following URL

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MICROCONTROLLERS&fpsp=1&tab=Docume...

 

Just download TENANTS and install it. I have attached TN24 to this thread for your reference.

 

The Technical note explains how to set up a command file performing unit tests for an application.

It does not explicitly show how to gather cycle counts information, but all HI-WAVE commands can be used in such a command file.

 

I hope this helps.

 

 

CrasyCat

Message Edited by CrasyCat on 2009-08-21 02:06 PM

View solution in original post

0 Kudos
3 Replies
13 Views
Specialist I

I assume that you are wanting to run some scripts that would execute different types of tests, perhaps for regression testing? Check out the Maker Utility section of the S12(X) Build Tools Utilities Manual. This is a PDF file located in the Help directory of the CodeWarrior installation.

 

---Tom

Message Edited by J2MEJediMaster on 2009-06-29 11:23 AM
13 Views
Contributor I
It doesn't really help me... In fact, I want to make some "trace" file using hiwave.exe. It consists on extracting execution times in a text file using "SHOWCYCLES" command. And I want to do this for different values of variables to see if the execution time change. 
0 Kudos
14 Views
Specialist III

Hello

 

You should be able to write a command file implementing the whole unit test.

 

I would recommend you to look at TN24, available from following URL

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MICROCONTROLLERS&fpsp=1&tab=Docume...

 

Just download TENANTS and install it. I have attached TN24 to this thread for your reference.

 

The Technical note explains how to set up a command file performing unit tests for an application.

It does not explicitly show how to gather cycle counts information, but all HI-WAVE commands can be used in such a command file.

 

I hope this helps.

 

 

CrasyCat

Message Edited by CrasyCat on 2009-08-21 02:06 PM

View solution in original post

0 Kudos