<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 Jens Carl,<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
When I went to test this on a different windows machine that has OpenCL enabled, the same commit: <a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=600987b4" target="_blank" rel="noopener noreferrer" style=" margin: 0px; font-size: 14.6667px; font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; background-color: rgb(255, 255, 255)">https://cgit.freedesktop.org/libreoffice/core/commit/?id=600987b4</a><br style=" color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255)">
<br style=" color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255)">
<span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important">tdf#45904
 Move remaining _XCellRangeReferrer Java tests to C++</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(33, 33, 33); font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif; font-size: 14.6667px; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;">caused the following build failure:</span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;"><br>
</span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;"><span>[build CUT] sc_opencl_test<br>
</span>
<div>ScOpenCLTest::testLogicalFormulaXor finished in: 2198ms<br>
</div>
<div>D:/core/sc/qa/unit/opencl-test.cxx:4143:ScOpenCLTest::testDatabaseFormulaDmax<br>
</div>
<div>double equality assertion failed<br>
</div>
<div>- Expected: 46<br>
</div>
<div>- Actual  : 0<br>
</div>
<div>- Delta   : 1e-11<br>
</div>
<div><br>
</div>
<div>ScOpenCLTest::testDatabaseFormulaDmax finished in: 252ms<br>
</div>
<div>...<br>
</div>
<div>ScOpenCLTest::testStatisticalFormulaStDevPA1 finished in: 152ms<br>
</div>
<div>ScOpenCLTest::testFinancialMDurationFormula1 finished in: 294ms<br>
</div>
<div>D:/core/sc/qa/unit/opencl-test.cxx(4143) : error : Assertion<br>
</div>
<div>Test name: ScOpenCLTest::testDatabaseFormulaDmax<br>
</div>
<div>double equality assertion failed<br>
</div>
<div>- Expected: 46<br>
</div>
<div>- Actual  : 0<br>
</div>
<div>- Delta   : 1e-11<br>
</div>
<div><br>
</div>
<div>Failures !!!<br>
</div>
<div>Run: 223   Failure total: 1   Failures: 1   Errors: 0<br>
</div>
<div><br>
</div>
<div>Error: a unit test failed, please do one of:<br>
</div>
<div>make CppunitTest_sc_opencl_test CPPUNITTRACE=TRUE # which is a shortcut for the following line<br>
</div>
<div>make CppunitTest_sc_opencl_test CPPUNITTRACE="'C:/Program Files (x86)/Microsoft Visual Studio 14.0/Common7/IDE/devenv.exe' /debugexe" # for interactive debugging in Visual Studio<br>
</div>
<div>make CppunitTest_sc_opencl_test CPPUNITTRACE="drmemory -free_max_frames 20" # for memory checking (install Dr.Memory first, and put it to your PATH)<br>
</div>
<div><br>
</div>
<div>You can limit the execution to just one particular test by:<br>
</div>
<div><br>
</div>
<div>make CppunitTest_sc_opencl_test CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...<br>
</div>
<div><br>
</div>
<div>make[1]: *** [D:/core/solenv/gbuild/CppunitTest.mk:115: D:/core/workdir/CppunitTest/sc_opencl_test.test] Error 1<br>
</div>
<div>make[1]: *** Waiting for unfinished jobs....<br>
</div>
<div>make: *** [Makefile:286: build] Error 2<br>
</div>
<span></span><br>
</span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;"><br>
</span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;">So in summary:</span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;"><br>
</span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;">Old sandybridge with OpenCL blacklisted + MSVC 2017:</span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;"><span style=" background-color: rgb(255, 255, 255); display: inline !important">CppunitTest_sc_tabviewobj FAIL</span><br>
</span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;"><br>
</span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;">Broadwell with OpenCL whitelisted:</span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;"><span style=" background-color: rgb(255, 255, 255); display: inline !important">CppunitTest_sc_opencl_test FAIL</span><br>
</span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;"><span style=" background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;"><span style=" background-color: rgb(255, 255, 255); display: inline !important">Reverting this commit allows a `make check` to succeed on both systems. </span></span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;"><span style=" background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></span></font></div>
<div style=""><font color="#212121"><span style="font-size: 14.6667px;"><span style=" background-color: rgb(255, 255, 255); display: inline !important">-Luke</span></span></font></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Luke Benes <lukebenes@hotmail.com><br>
<b>Sent:</b> Saturday, June 16, 2018 8:08 PM<br>
<b>To:</b> Libreoffice Dev List; j.carl43@gmx.de<br>
<b>Subject:</b> CppunitTest_sc_tabviewobj failing on Windows MSVC 2017</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
Ever since <a href="https://cgit.freedesktop.org/libreoffice/core/commit/?id=600987b4">
https://cgit.freedesktop.org/libreoffice/core/commit/?id=600987b4</a><br>
<br>
tdf#45904 Move remaining _XCellRangeReferrer Java tests to C++<br>
<br>
Windows builds are failing with the following error:<br>
<br>
[build CUT] sc_arealinkobj<br>
sc_apitest::ScTabViewObj::testSpreadsheetViewSettingsProperties finished in: 2516ms<br>
sc_apitest::ScTabViewObj::testAddRemoveActivationEventListener finished in: 603ms<br>
C:/core/test/source/sheet/xcellrangereferrer.cxx:32:sc_apitest::ScTabViewObj::testGetReferredCells<br>
equality assertion failed<br>
- Expected: Sheet: 0 StartColumn: 0 StartRow: 0 EndColumn: 6 EndRow: 13<br>
- Actual  : Sheet: 0 StartColumn: 0 StartRow: 0 EndColumn: 6 EndRow: 23<br>
<br>
sc_apitest::ScTabViewObj::testGetReferredCells finished in: 634ms<br>
sc_apitest::ScTabViewObj::testGetSetActiveSheet finished in: 572ms<br>
sc_apitest::ScTabViewObj::testFreeze finished in: 660ms<br>
sc_apitest::ScTabViewObj::testSplit finished in: 679ms<br>
C:/core/test/source/sheet/xcellrangereferrer.cxx(32) : error : Assertion<br>
Test name: sc_apitest::ScTabViewObj::testGetReferredCells<br>
equality assertion failed<br>
- Expected: Sheet: 0 StartColumn: 0 StartRow: 0 EndColumn: 6 EndRow: 13<br>
- Actual  : Sheet: 0 StartColumn: 0 StartRow: 0 EndColumn: 6 EndRow: 23<br>
<br>
Failures !!!<br>
Run: 6   Failure total: 1   Failures: 1   Errors: 0<br>
<br>
Error: a unit test failed, please do one of:<br>
make CppunitTest_sc_tabviewobj CPPUNITTRACE=TRUE # which is a shortcut for the following line<br>
make CppunitTest_sc_tabviewobj CPPUNITTRACE="'C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/Common7/IDE/devenv.exe' /debugexe" # for interactive debugging in Visual Studio<br>
make CppunitTest_sc_tabviewobj CPPUNITTRACE="drmemory -free_max_frames 20" # for memory checking (install Dr.Memory first, and put it to your PATH)<br>
<br>
You can limit the execution to just one particular test by:<br>
<br>
make CppunitTest_sc_tabviewobj CPPUNIT_TEST_NAME="testXYZ" ...above mentioned params...<br>
<br>
make[1]:<br>
make[1]:<br>
Makefile:286: recipe for target 'build' failed<br>
<br>
</div>
</span></font></div>
</body>
</html>