<div dir="ltr"><div>Hello colleagues, <br></div><div>I've build JDK locally successfully, but got several tests "FAILED".</div><div>Tried to run one of the failing test separately with "make test TEST="<path_to_test>".</div><div>Were unable to do so due to build error - the compiler was unfamiliar to include path to winscard.h, fixed with configuration option:</div><div>bash configure --with-extra-cflags="-I/usr/include/PCSC"</div><div>next error was incapability of  linker to link with libjpeg - fixed with</div><div>adding --with-libjpeg=system to configure. <br></div><div>the issue was solved,  but a new one was added with missing libgif.</div><div>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.</div><div>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?</div><div>Thank you.<br></div><div>Mykhaylo Lodygin<br></div></div>