Automatic Testing: Difference between revisions
Jump to navigation
Jump to search
Jenningsjwj (talk | contribs) No edit summary |
Jenningsjwj (talk | contribs) |
||
Line 7: | Line 7: | ||
# List all the examples in <tt>book</tt> that use <tt><program></tt><pre>sfbooklist uses=<program> list=filter book</pre> | # List all the examples in <tt>book</tt> that use <tt><program></tt><pre>sfbooklist uses=<program> list=filter book</pre> | ||
# rebuild all the examples in <tt>book</tt> that use <tt><program></tt><pre>sfbooklist uses=<program> list=filter command=scons book</pre> | # rebuild all the examples in <tt>book</tt> that use <tt><program></tt><pre>sfbooklist uses=<program> list=filter command=scons book</pre> | ||
# Compare the newly generated figs with the corresponding reference figs stored in <tt>$RSFFIGS</tt> (defaulted to <tt>$RSFROOT/share/figs</tt>)<pre> sfbooklist uses=<program> list=filter command="sffiglist rsftest=y list=none" book</pre> | # Compare the newly generated figs with the corresponding reference figs stored in <tt>$RSFFIGS</tt> (defaulted to <tt>$RSFROOT/share/figs</tt>)<pre>sfbooklist uses=<program> list=filter command="sffiglist rsftest=y list=none" book</pre> | ||
# Display any figs that are different from their <tt>$RSFFIGS</tt> counterparts<pre>sfbooklist uses=<program> list=filter command="sffiglist rsftest=y list=none show=diff" book</pre> | # Display any figs that are different from their <tt>$RSFFIGS</tt> counterparts<pre>sfbooklist uses=<program> list=filter command="sffiglist rsftest=y list=none show=diff" book</pre> |
Revision as of 18:36, 19 June 2010
Quick Test
Testing Scripts
The following commands 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