On 2023/04/26 14:34, Klemens Nanni wrote:
> > +
> > +do-test:
> > +   env HOME=${WRKSRC} GOPROXY=file://${DISTDIR}/go_modules \
> > +           ninja -C ${WRKBUILD} run_tests
> 
> PORTHOME is set above and should be used;  the regular goop does that
> (ALL_TEST_ENV contains MAKE_ENV contains PORTHOME):
> 
>       $ make -V MODCMAKE_TEST_TARGET
>       cd ${WRKBUILD} && exec ${SETENV} ${ALL_TEST_ENV}  ctest ${_MAKE_VERBOSE}
>       -j ${MAKE_JOBS}
> 
> So that could be:
> 
> +TEST_ENV =           GO_PROXY=file://${DISTDIR}/go_modules
> +
> +do-test:
> +     ${SETENV} ${ALL_TEST_ENV} ninja -C ${WRKBUILD} -j ${MAKE_JOBS} run_tests

technically USE_NINJA=No and USE_NINJA=samurai are supposed to work ..
Not sure if I care in this case though :) (ATM all archs are using ninja
by default but I think we had problems in some cases before).

Reply via email to