Automatic Testing

From Madagascar
Revision as of 20:17, 30 May 2010 by Sfomel (talk | contribs) (New page: =Automatic Testing= ==Testing Scripts== The following scripts use [http://www.ahay.org/RSF/sfbooklist.html sfbooklist] and [http://www.ahay.org/RSF/sffiglist.html sffiglist]. Run them fr...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Automatic Testing

Testing Scripts

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

  • List all the examples in book that use <program>
sfbooklist uses=<program> list=filter book
  • rebuild all the examples in book that use <program>
sfbooklist uses=<program> list=filter command=scons book
  • 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
  • Display any figs that are different from their $RSFFIGS counterparts
sfbooklist uses=<program> list=filter command="sffiglist rsftest=y list=none show=diff" book