[ITA] iso-codes

Brian Inglis Brian.Inglis@SystematicSW.ab.ca
Sat Apr 19 21:55:11 GMT 2025


On 2025-04-19 14:53, Philippe Baril Lecavalier via Cygwin-apps wrote:
> build succeeded
> 
> Log:
> https://github.com/cygwin/scallywag/actions/runs/14552392909
> 
> It remains the same file/patch as I enclosed above.
> 
> Commit in playground (diff output vs. last in playground, not master):
> https://cygwin.com/cgit/cygwin-packages/iso-codes/commit/?h=playground&id=c517150effd33eb69fb433a330bbf72505a72c15

Looks good.

The package includes no checks.
It can be useful to define your own src_test() function which checks that 
everything is available and works as expected.

Run stuff from $B/... or $D/bin/... to check it works, and check samples against 
data installed produces output.

Unlike code unit tests, where you can design what you are doing, keep these 
tests simple.
Do programs, scripts, and data files exist, run and report as expected?
Add more only when you encounter issues that need more work to deal with, or you 
could imagine your build or install messing up something a bit non-standard.

See for example tzcode, tzdata, man-pages-linux, or cpuid for example tests I 
have added to ensure that build, install, or execution issues I encountered are 
detected and raised.
The cpuid checks also include counters, plus unchecked output from, and 
comparisons against output from the previous installed version, as they may 
differ greatly from my own system, but may be manually compared against the 
outputs and differences on my local system, to ensure there are no unexpected 
issues.

For example with this package, use any locales you may be familiar with, 
especially if they may be considered non-standard, and/or perhaps Deutsch and 
English (maybe UK just to be non-default) if those are not familiar locales, 
although they are for other contributors, as a selection for testing countries, 
languages, scripts, currencies, and translations.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher  but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


More information about the Cygwin-apps mailing list