cygport test has zero exit status on failures

ASSI Stromeko@nexgo.de
Tue May 18 04:36:49 GMT 2021


Jason Pyeron writes:
> What is the historic rationale behind the "OR true" after the make
> check?

Not historic for the most part, I'd say.  Cygport can also do
cross-builds of packages and in those cases the tests will seldomly work
(at all or at least partly) unless upstream walked the extra mile.
Also, due to ATWIL syndrome and other factors, Cygwin is often not
explicitly considered a target platform or (even then) treated wrongly
in different ways, so even when building natively you will encounter
your fair share of spurious test fails.

> It seems silly to have to redefine src_test() as {
>         cd ${B}
>         make check
> }, just to have a failure exit code if the test fail.

It would be equally silly the other way around in a different set of
circumstances.  But yes, making this configurable might be useful, but
this should then be done in the local configuration, not in the cygport
file.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


More information about the Cygwin-apps mailing list