[oce] 01/04: New patch: debian/patches/speedup-BRepMesh_test.patch

Denis Barbier barbier-guest at moszumanska.debian.org
Tue Dec 3 08:19:20 UTC 2013


This is an automated email from the git hooks/post-receive script.

barbier-guest pushed a commit to branch debian
in repository oce.

commit 038d36571702be94c6f762361bbf88d412f042da
Author: Denis Barbier <bouzim at gmail.com>
Date:   Sat Nov 30 18:59:23 2013 +0100

    New patch: debian/patches/speedup-BRepMesh_test.patch
    
    Make BRepMesh_test.testMeshTorus run faster.  Changes
    in OCCT 6.6.0 make this test run slower, and mips again
    timeouts.  As this test already takes 1 hour, let it
    perform less operations.
---
 debian/patches/series                      |  1 +
 debian/patches/speedup-BRepMesh_test.patch | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index e3297c9..1d02e83 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 split-export.patch
 NCollection-align-64bit.patch
 fix-FTBFS-armel.patch
+speedup-BRepMesh_test.patch
diff --git a/debian/patches/speedup-BRepMesh_test.patch b/debian/patches/speedup-BRepMesh_test.patch
new file mode 100644
index 0000000..05fca5a
--- /dev/null
+++ b/debian/patches/speedup-BRepMesh_test.patch
@@ -0,0 +1,23 @@
+Description: Make BRepMesh_test run faster
+Author: Denis Barbier <bouzim at gmail.com>
+Origin: Debian
+Forwarded: no
+Last-Update: 2013-11-29
+
+Changes in OCCT 6.6.0 make this test run slower, and mips
+again timeouts.  As this test already takes 1 hour, let
+it perform less operations.
+
+Index: oce/test/BRepMesh_test/BRepMesh_test.cpp
+===================================================================
+--- oce.orig/test/BRepMesh_test/BRepMesh_test.cpp
++++ oce/test/BRepMesh_test/BRepMesh_test.cpp
+@@ -49,7 +49,7 @@
+ 
+ TEST(BRepMeshTestSuite, testMeshTorus)
+ {
+-    for(int radius = 1; radius < 20; radius++) {
++    for(int radius = 1; radius < 20; radius+=3) {
+         BRepPrimAPI_MakeTorus torus(radius,1.);
+         torus.Build();
+         ASSERT_TRUE(torus.IsDone());

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/oce.git



More information about the debian-science-commits mailing list