Thanks for your feedback and advice regarding this issue. It's a good suggestion to try to set BUILD_STYLE=cmake, because Squeak uses cmake, but Squeak before switching to cmake, used to use GNU configure (autoconf).
There is a 'configure' script which is used in my OpenIndiana component Makefile. So the build style is 'custom configure script'. Anyway I tried setting BUILD_STYLE and it does not change the fact that before running 'gmake test', I have to run 'gmake build' and 'gmake install'. This is not a big problem for me, and the nice thing is that the Sunit test results are ran and saved in test/result-32.master This convention to save the results in the result-<BITS>.master file is already a big help to check test results. Thanks, David Stes ----- Op 30 okt 2022 om 6:42 schreef Tim Mooney via oi-dev [email protected]: > In regard to: Re: [oi-dev] SUnit and gmake test on OpenIndiana,...: > >> ----- Op 29 okt 2022 om 13:24 schreef Aurélien Larcher >> [email protected]: >> >>> 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. >> >> I think the test target only calls the code to run 'diff' when using GNU >> autoconf configure style Makefiles. > > Many of the "build style" macro files define targets for > '.tested-and-compared' and '.tested'. You're correct that configure.mk > defaults to having rules for running a test suite, because projects that > use autoconf-generated configure scripts almost universally generate a > Makefile that has a 'test' target, even if it does nothing. > > It appears that "squeak" doesn't define any build style currently, so it's > using the base set of targets, with customization and addition directly in > squeak's Makefile. > > It's possible you could define a BUILD_STYLE (before the inclusion of > shared-macros.mk, see other components that do this) for something more > specific. Does squeak use Cmake? BUILD_STYLE=cmake. Does it just use > a Makefile, with no configure process? BUILD_STYLE=justmake. > > It all depends on how squeak is built, but using a more specific > BUILD_STYLE may get you the macro set that defines all of the > test-related setup you need. > > Tim > -- > Tim Mooney [email protected] > Enterprise Computing & Infrastructure / > Division of Information Technology / 701-231-1076 (Voice) > North Dakota State University, Fargo, ND 58105-5164 > _______________________________________________ > oi-dev mailing list > [email protected] > https://openindiana.org/mailman/listinfo/oi-dev _______________________________________________ oi-dev mailing list [email protected] https://openindiana.org/mailman/listinfo/oi-dev
