On Sun, 13 Dec 2020 15:32:23 +0100, Marco Atzeri via Cygwin-apps
> On 13.12.2020 06:58, Lemures Lemniscati via Cygwin-apps wrote:
> > Hi!
> >
> > ITA for libjpeg-turbo, which have been maintained by Yaakov [1].
> >
> > Now, the latest stable upstream version of libjpeg-turbo is 2.0.6 [2].
> >
> > A new candidate cygport file is placed at [3] (but it is not tested
> > on Cygwin AppVeyor CI, yet).
> >
> > Generated package files are placed at [4] and [5]:
> >
> it builds fine, but I would add a test section
> at least as simple as
>
> $ ./tjunittest.exe
> RGB Top-Down -> 4:4:4 Q100 ... Done.
> Result in test_enc_RGB_TD_444_Q100.jpg
> JPEG -> RGB Top-Down 2/1 ... Passed.
> JPEG -> RGB Top-Down 15/8 ... Passed.
> JPEG -> RGB Top-Down 7/4 ... Passed.
> ...
> JPEG -> ARGB Bottom-Up 3/8 ... Passed.
> JPEG -> ARGB Bottom-Up 1/4 ... Passed.
> JPEG -> ARGB Bottom-Up 1/8 ... Passed.
>
> --------------------
>
> Buffer size regression test
> Done.
>
> > Regards,
> >
> > Lem
>
> Changed maintainer, so when you want you can upload.
>
> Thanks and Regards
> Marco
>
Thank you for reviewing, Marco.
Now, I've added a test section as follows:
========
src_test() {
cd ${B}
ctest
}
========
And, I guess it would be useful if we add the following code
to usr/share/cygport/cygclass/cmake.cygclass .
(But this subject should be in another mail, later.)
=======
cygctest() {
if (( ${#@} > 0 )); then
ctest "$@"
elif [ -f CTestTestfile.cmake ]; then
ctest
else
inform "cygctest: No testsuite detected."
fi
}
readonly -f cygctest
src_test() {
cd ${B}
cygctest
}
=======
Regards,
Lem