List Info

Thread: Improve gst-load/gst-sunit scripts




Improve gst-load/gst-sunit scripts
country flaguser name
Italy
2007-05-20 06:53:06
This patch improves the installed scripts gst-load and
gst-sunit.  It is 
best to show the help messages:


Usage:
     gst-sunit [ flag ... ] class.tests ...

Options:
     -q --quiet            hide the output
     -v --verbose          show passed tests
     -f --file=FILE        load file before running
subsequent tests
     -p --package=PACKAGE  load package and run its tests
     -h --help             show this message


Usage:
     gst-load [ flag ... ] package ...

Options:
     -q --quiet            hide the output
     -v --verbose          show loaded files
     -f --force            reload package if already loaded
     -n --dry-run          don't save the image after
loading
     -h --help             show this message


The XML package description file is grown another tag,
<sunit>, which 
specifies a SUnit script to be executed by "gst-sunit
-p".  For now, 
only "gst-sunit -p SUnit" works but I'll add
support for more packages 
soon (unless someone beats me and sends patches, of
course!).  This also 
simplifies testing external packages upon "make
check".

I *think* I'll apply this to 2.3 as well, but I'm not sure. 
Opinions 
are welcome.

Paolo

_______________________________________________
help-smalltalk mailing list
help-smalltalkgnu.org

http://lists.gnu.org/mailman/listinfo/help-smalltalk

  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )