Towards a more stable VM

talksmall <[email protected]> Wed, 21 May 2008 04:52:25 -0700 (PDT)
Newsgroups gmane.comp.lang.smalltalk.strongtalk
Message-ID <577ce719-b2c0-4798-9541-bafc1de9b8d5@e53g2000hsa.googlegroups.com>
As a small step on the path to greater stability for the VM I have
checked in a change to add some unit testing infrastructure to the VC+
+ project. Note that the project is now for VS 2008 Express Edition
(available as a free download from Microsoft).

The testing framework is provided by Easyunit which I have customised
slightly to avoid dependence on the global new operator which
Strongtalk overrides to call fatal() - ie. not to be used. There are
also some minimal unit tests for a couple of issues I came across at
various points (size alignment problem in ReservedSpace, longint
problems under optimized builds).

The VS 2008 solution now consists of four projects - an easyunit
project that builds the framework as a static library; a strongtalk
project that builds everything under vm except runtime\main.cpp into a
static library; a strongtalk-main project that compiles vm\runtim
\main.cpp and links it with the strongtalk static library to produce
the strongtalk-main.exe which is the executable used to run the
application; a strongtalk-test project that compiles a test main and
the unit test files and links these together with the strongtalk
static library to produce an executable which is run at the end of the
build to execute all of the unit tests.

I have updated the build instructions in readme.txt accordingly.

Regards, Steve
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Strongtalk-general" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/strongtalk-general?hl=en
-~----------~----~----~----~------~----~------~--~---