make stage-jck-material verify material is actually the required version
In case the wrong material has been extracted onto a wrong location, we need to ensure we're actually testing using the required version. https://github.com/adoptium/aqa-tests/blob/f67688dd0d9b247d8cf895496b76ce717485a9ca/jck/build.xml#L94 ?
Comment raised in TCK retrospective by sxa (and sanitized by adamfarley):
Can we trap the situation where someone (me...) runs a job with JDK_VERSION=21 then sets [email protected]:[jck material owner]/[repo for jck22 material].git
When you do that you end up with the JCK22 material under [folder location for jck21 material] and attempts to use it will result in messages like these (it also tries to run through all of the tests, which all fail, instead of being able to aborting straight away):
11:45:16 jckversion determined to be jck22
11:45:16 test-args jckversion jck21 does not match actual jckversion jck22. Using actual jckversion jck22
11:45:16 Error: Unable to access [location of a specific file within the jck 21 test material on disk]