[oi-dev] SUnit and gmake test on OpenIndiana
Aurélien Larcher
aurelien.larcher at gmail.com
Sat Oct 29 11:24:54 UTC 2022
On Sat, Oct 29, 2022 at 10:56 AM stes at PANDORA.BE <stes at telenet.be> wrote:
>
> I'm trying to add some modifications to my oi-userland component Makefile
> (for Squeak/Smalltalk) to run the SUnit tests.
>
> What I did was add some interface so that :
>
> gmake build
> gmake install
> gmake test
>
> in the component directory of OpenSmalltalk stack-spur runs the SUnit
> tests and saves the output in results-64.vm
> which can be compared to results-64.master
>
> However it is to me unclear when reading the oi-userland/make-rules/
> common.mk whether there exits a target
>
> gmake test-and-diff
>
> or whether gmake test is supposed to run the COMPONENT_TEST_DIFF_CMD
> itself.
>
> Also the configure.mk rules seem to automatically trigger a "gmake
> install" when running "gmake test" which would be useful.
>
> Finally if/when adding tests for the components, are those tests
> automatically ran on the build server itself please ?
>
I think the target that does the diff is test-compare, but the test target
will call it and do the comparison if a result file is present.
Tests are not automatically run on the build server.
>
> Thanks
> David Stes
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev
>
--
---
Praise the Caffeine embeddings
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20221029/43f8a9e7/attachment.html>
More information about the oi-dev
mailing list