Closed matwey closed 6 years ago
x86 32-bit doesn't like current approach
[ 121s] ********* Start testing of TestOpenGLPlane ********* [ 121s] Config: Using QtTest library 5.9.2, Qt 5.9.2 (i386-little_endian-ilp32 shared (dynamic) release build; by GCC 7.2.1 20171020 [gcc-7-branch revision 253932]) [ 121s] PASS : TestOpenGLPlane::initTestCase() [ 121s] PASS : TestOpenGLPlane::test_plane1x1() [ 121s] PASS : TestOpenGLPlane::test_plane1x2() [ 121s] PASS : TestOpenGLPlane::test_plane2x1() [ 121s] FAIL! : TestOpenGLPlane::test_plane10x10() Compared values are not the same [ 121s] Actual (static_cast<int>(1.0/pl.scale())): 9 [ 121s] Expected (10) : 10 [ 121s] Loc: [/home/abuild/rpmbuild/BUILD/fips-3.2.0/test/openglplane.cpp(53)] [ 121s] FAIL! : TestOpenGLPlane::test_plane10x1000() Compared values are not the same [ 121s] Actual (static_cast<int>(1.0/pl.scale())): 999 [ 121s] Expected (1000) : 1000 [ 121s] Loc: [/home/abuild/rpmbuild/BUILD/fips-3.2.0/test/openglplane.cpp(63)] [ 121s] PASS : TestOpenGLPlane::cleanupTestCase() [ 121s] Totals: 5 passed, 2 failed, 0 skipped, 0 blacklisted, 1ms [ 121s] ********* Finished testing of TestOpenGLPlane *********
x86 32-bit doesn't like current approach