From bc35b37676a1a62478a37bf550bcac907d5588fc Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Wed, 28 Dec 2011 17:53:09 +0100 Subject: Disabled a few dump tests causing floating point comparison issues diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 21cee6b..9ec4474 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -577,12 +577,15 @@ list(APPEND CGALSTLSANITYTEST_FILES ${CMAKE_SOURCE_DIR}/../testdata/scad/misc/no # Once we're capable of comparing these across platforms, we can put these back in disable_tests(dumptest_transform-tests dumptest_render-tests + dumptest_difference-tests + dumptest_intersection-tests dumptest_example001 dumptest_example005 dumptest_example006 dumptest_example007 dumptest_example008 dumptest_example012 + dumptest_example013 dumptest_example016 dumptest_example020 dumptest_example021) -- cgit v0.10.1 From db7b829089d6b35cd405247c50d6d8f1b62d47b2 Mon Sep 17 00:00:00 2001 From: Marius Kintel Date: Wed, 28 Dec 2011 17:53:57 +0100 Subject: Updated intersection-tests to avoid hard-to-compare OpenGL z-buffer fighting diff --git a/tests/regression/dumptest/intersection-tests-expected.txt b/tests/regression/dumptest/intersection-tests-expected.txt index e6bbf32..a9dba29 100644 --- a/tests/regression/dumptest/intersection-tests-expected.txt +++ b/tests/regression/dumptest/intersection-tests-expected.txt @@ -24,7 +24,7 @@ multmatrix([[1, 0, 0, 12], [0, 1, 0, 12], [0, 0, 1, 0], [0, 0, 0, 1]]) { intersection() { cube(size = [10, 10, 10], center = true); - multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 7], [0, 0, 0, 1]]) { + multmatrix([[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 7.01], [0, 0, 0, 1]]) { cylinder($fn = 0, $fa = 12, $fs = 2, h = 4, r1 = 4, r2 = 4, center = true); } } diff --git a/tests/regression/opencsgtest/intersection-tests-expected.png b/tests/regression/opencsgtest/intersection-tests-expected.png index fc23560..772e2dc 100644 Binary files a/tests/regression/opencsgtest/intersection-tests-expected.png and b/tests/regression/opencsgtest/intersection-tests-expected.png differ diff --git a/tests/regression/throwntogethertest/intersection-tests-expected.png b/tests/regression/throwntogethertest/intersection-tests-expected.png index f6cf6af..f6cc56f 100644 Binary files a/tests/regression/throwntogethertest/intersection-tests-expected.png and b/tests/regression/throwntogethertest/intersection-tests-expected.png differ -- cgit v0.10.1