building individual test issue
Mykhaylo Lodygin
mlodygin at cloudlinux.com
Tue Aug 29 13:16:20 UTC 2023
Hello David,
> What did you build? images? what about test-images?
you've meant "make images" - i'm getting lots of errors about missing
methods from library liblcms2-2 (undefined reference to `cmsCloseProfile',
undefined reference to `cmsSaveProfileToMem')
test-images target is seems to be missing at all, since i'm getting make:
*** No rule to make target 'test-images'. Stop.
> What test(s), on what platform?
on ubuntu18.04LTS, i've started with what I reckon the smallest one (among
"failing" set) java/util/TimeZone/Promiscuous.java
On Mon, Aug 28, 2023 at 4:02 PM David Holmes <david.holmes at oracle.com>
wrote:
> On 28/08/2023 9:54 pm, Mykhaylo Lodygin wrote:
> > Hello colleagues,
> > I've build JDK locally successfully, but got several tests "FAILED".
>
> What did you build? images? what about test-images?
>
> > Tried to run one of the failing test separately with "make test
> > TEST="<path_to_test>".
> > Were unable to do so due to build error - the compiler was unfamiliar to
> > include path to winscard.h, fixed with configuration option:
> > bash configure --with-extra-cflags="-I/usr/include/PCSC"
>
> What test(s), on what platform?
>
> > next error was incapability of linker to link with libjpeg - fixed with
> > adding --with-libjpeg=system to configure.
> > the issue was solved, but a new one was added with missing libgif.
> > I was curious and tried a test that "Passed", thinking that "failure"
> > could had happen due to inability to build the test. Tried
> > sun/util/calendar/zi/Beyond2037.java but got a very similar error of
> > inability to link with liblcms2-2.
> > I'm flabbergasted, hence my questions are: does "make test" target is
> > expected to rebuild JDK's code? does my approach of adding options to
> > configure script is proper one? How come a test could be "Passed" while
> > running it separately results in inability to build the test?
>
> As Erik indicated we need more information/details.
>
> Cheers,
> David
>
>
> > Thank you.
> > Mykhaylo Lodygin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20230829/affbe5ff/attachment-0001.htm>
More information about the build-dev
mailing list