This option obviously cannot be implemented in the same file
as
scripts/Load.st and scripts/Test.st, because it must be
passed to gst
directly as -I. So we need to make gst-load and gst-sunit a
different
script than the Load.st and Test.st files.
I chose to write a shell script, but with a nice
command-line parser
written in Smalltalk (about 15 lines of code!).
In addition, I added a --test option to gst-load, so that
you can avoid
loading the package if the testsuite fails. In theory, this
could be
implemented within scripts/Load.st, but in the future we'll
support
running the testsuite *without putting it in the saved
image*; so I've
already implemented it outside scripts/Load.st.
Paolo
_______________________________________________
help-smalltalk mailing list
help-smalltalk gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk
|