Automatic Testing: Difference between revisions

From Madagascar
Jump to navigation Jump to search
Sfomel (talk | contribs)
Sfomel (talk | contribs)
No edit summary
Line 1: Line 1:
=Automatic Testing=
==Testing Scripts==
==Testing Scripts==



Revision as of 03:21, 31 May 2010

Testing Scripts

The following commands use sfbooklist and sffiglist. Run them from $RSFSRC.

  1. List all the examples in book that use <program>
    sfbooklist uses=<program> list=filter book
  2. rebuild all the examples in book that use <program>
    sfbooklist uses=<program> list=filter command=scons book
  3. Compare the newly generated figs with the corresponding reference figs stored in $RSFFIGS (defaulted to $RSFROOT/share/figs)
     sfbooklist uses=<program> list=filter command="sffiglist rsftest=y list=none" book
  4. Display any figs that are different from their $RSFFIGS counterparts
    sfbooklist uses=<program> list=filter command="sffiglist rsftest=y list=none show=diff" book