[oi-dev] SUnit and gmake test on OpenIndiana

Tim Mooney Tim.Mooney at ndsu.edu
Tue Nov 1 18:37:35 UTC 2022


In regard to: Re: [oi-dev] SUnit and gmake test on OpenIndiana,...:

> but for Squeak it cannot find its plugin directory when started from the build directory to load loadable plugin modules.
>
> So for Squeak as a workaround it is still necessary to run
>
>   gmake install
>
> to stage the plugins to the prototype area from where they can be loaded.

That's atypical, and not really desirable behavior.

Is there an environment variable that can be overridden during the test,
to point squeak at the directory/directories that contain the
*uninstalled* plugins?

> However in the case of Squeak the 'gmake install' should be done before
> the 'gmake test'.
>
> That is not how the make-rules seem to be set up.

Requiring that something be "installed" (even though in this case it's
being copied into a staging area for packaging) before it can be tested
is backwards.  The vast majority of open source software does not do that,
and OI's targets are set up to assume the more common behavior of being
able to test before anything has been installed.

Tim
-- 
Tim Mooney                                             Tim.Mooney at ndsu.edu
Enterprise Computing & Infrastructure /
Division of Information Technology    /                701-231-1076 (Voice)
North Dakota State University, Fargo, ND 58105-5164



More information about the oi-dev mailing list