mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
improve custom event listener error reporting
During multi process test execution it may be difficult to propery read output from tests. Output lines maybe mixed so determining things like hardware or random seed becomes difficult. This change adds extra data to output: [ FAILED ][ BDW ][ 35357 ] <test name> [ FAILED ][ BDW ][ 35358 ] <test name> From this we can easily find that test failed on BDW with gtest_seed=35357 and 35358. Change-Id: I21e0767162d390f56dd270b1ba8650664c3898b5 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
a9da118e11
commit
01ec633182
@ -357,7 +357,7 @@ int main(int argc, char **argv) {
|
||||
if (useDefaultListener == false) {
|
||||
auto defaultListener = listeners.default_result_printer();
|
||||
|
||||
auto customEventListener = new CCustomEventListener(defaultListener);
|
||||
auto customEventListener = new CCustomEventListener(defaultListener, hardwarePrefix[productFamily]);
|
||||
|
||||
listeners.Release(defaultListener);
|
||||
listeners.Append(customEventListener);
|
||||
|
Reference in New Issue
Block a user