overview
The basic idea, is based on a three step approach:
- stimulate the device under test (DUT) and store the output somewhere, declare the output to be perfect, a golden reference
- hack away on the code, implement changes
- 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.
- make ref
- #use your editor
- 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