[vector] Test infrastructure improvements

Halimi, Jean-Philippe jean-philippe.halimi at intel.com
Fri Jun 1 03:12:25 UTC 2018


Looks great to me :)

Jp

From: Lupusoru, Razvan A
Sent: Thursday, May 31, 2018 5:20 PM
To: panama-dev at openjdk.java.net
Cc: Halimi, Jean-Philippe <jean-philippe.halimi at intel.com>
Subject: [vector] Test infrastructure improvements

Hi everyone,

I would like to contribute a few small changes to Vector API test infrastructure:

-          Increase default loop iteration count from 10 to 100. We found that 10 is too low and sometimes we cannot reliably reproduce issue

-          Add more verbosity when exception is thrown for test failures that actually shows the input that caused problem

-          Swap assertEquals arguments since it appears that contrary to junit, testng has first argument as actual and second argument as expected. We were passing the intrinsic result as expected and scalar computation result as actual. This patch swaps them so that scalar result is the "expected" value.

http://cr.openjdk.java.net/~rlupusoru/panama/webrev_testfixes_00/

Thanks,
Razvan



More information about the panama-dev mailing list