Tags:
create new tag
, view all tags

overview

The basic idea, is based on a three step approach:

  1. stimulate the device under test (DUT) and store the output somewhere, declare the output to be perfect, a golden reference
  2. hack away on the code, implement changes
  3. stimulate the DUT again and compare the results to your golden reference, every difference is evil

This sort of test is meant as an addition to systematic tests.

implementation

Attached is a make file based approach. A file urls.mk constains the TWiki topics which will be read. The three steps again.

  1. make ref
  2. #use your editor
  3. make diff

You have to edit the variables at the top of the makefile. You need to use GNU make.

limitations

  • It uses currently only the view script

discussion

...

-- FrankHartmann - 02 Nov 2004

IIRC, CrawfordCurrie hacked some scripts to do that some time ago. His work is in the tools/test directory (in both MAIN and DEVELOP).

-- RafaelAlvarez - 02 Nov 2004

http://svn.twiki.org/svn/twiki/branches/DEVELOP/tools/distro/test.pl

-- WillNorris - 09 Dec 2004

 
Topic attachments
I Attachment Action Size Date Who Comment
Unknown file formatEXT Makefile manage 0.7 K 2004-11-02 - 21:45 FrankHartmann GNU makefile
Unknown file formatmk urls.mk manage 4.6 K 2004-11-02 - 21:46 FrankHartmann list of topics
Topic revision: r6 - 2006-10-08 - SvenDowideit
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.