Closed cheremin closed 12 years ago
I have added this check to NativeAffinityTest and a similar one to JNAAffinityTest
Thank you for the feedback BTW.
Thank you for your quick reaction :)
Uph... I've just forget cite "static" in method declaration
Currently build is failing on test phrase if JNI 'affinity' lib is not available. It is NativeAffinityTest which fails.
I suppose, such test is meaningless if NativeAffinity is not loaded. So, it should be changed like this:
@BeforeClass public void checkJniLibraryPresent(){ Assume.assumeTrue( NativeAffinity.LOADED ); }
this will lead to ignoring this testcase in case where NativeAffinity is not available.