From 4722f664d1391f89ec478a4aec091b2efbdd01ea Mon Sep 17 00:00:00 2001
From: abk <abk@opencascade.com>
Date: Fri, 15 Feb 2013 13:29:31 +0400
Subject: [PATCH] Input shapes were corrected by 'updatetolerance' in tests: -
 bugs modalg bug697_3, -             bug697_4, -             bug697_7, -      
       bug697_8, -             bug697_11, -             bug1255, -            
 bug1255_1, -             bug5729, -             bug6181, -            
 bug6182, -             bug6272_85, -             bug6272_86, -            
 bug10842_5.

---
 tests/bugs/modalg_1/bug10842_5 | 1 +
 tests/bugs/modalg_2/bug5729    | 1 +
 tests/bugs/modalg_4/bug6181    | 2 ++
 tests/bugs/modalg_4/bug6182    | 1 +
 tests/bugs/modalg_4/bug6272_85 | 1 +
 tests/bugs/modalg_4/bug6272_86 | 1 +
 tests/bugs/modalg_4/bug697_3   | 1 +
 tests/bugs/modalg_4/bug697_5   | 1 +
 tests/bugs/modalg_4/bug697_6   | 1 +
 9 files changed, 10 insertions(+)

diff --git a/tests/bugs/modalg_1/bug10842_5 b/tests/bugs/modalg_1/bug10842_5
index 87cddb120d..3759398fe9 100755
--- a/tests/bugs/modalg_1/bug10842_5
+++ b/tests/bugs/modalg_1/bug10842_5
@@ -9,6 +9,7 @@ puts ""
 set BugNumber OCC10842
 
 restore [locate_data_file OCC10842-1.brep] b1 
+updatetolerance b1
 restore [locate_data_file OCC10842-2.brep] b2 
 
 puts "Prepare boolean operation ..."
diff --git a/tests/bugs/modalg_2/bug5729 b/tests/bugs/modalg_2/bug5729
index a594ca7460..35624f3ddf 100755
--- a/tests/bugs/modalg_2/bug5729
+++ b/tests/bugs/modalg_2/bug5729
@@ -10,6 +10,7 @@ set BugNumber OCC5729
 
 restore [locate_data_file OCC5729-f1.brep] f1 
 restore [locate_data_file OCC5729-f2.brep] f2 
+updatetolerance f2
 
 decho off
 set che_1 [checkshape f1]
diff --git a/tests/bugs/modalg_4/bug6181 b/tests/bugs/modalg_4/bug6181
index 5a5667d9e1..4d318789da 100755
--- a/tests/bugs/modalg_4/bug6181
+++ b/tests/bugs/modalg_4/bug6181
@@ -9,7 +9,9 @@ puts ""
 set BugNumber OCC6181
 
 restore [locate_data_file OCC6181_A.brep] s1 
+updatetolerance s1
 restore [locate_data_file OCC6181_B.brep] s2 
+updatetolerance s2
 
 decho off
 set che_s1 [checkshape s1]
diff --git a/tests/bugs/modalg_4/bug6182 b/tests/bugs/modalg_4/bug6182
index f0b12771a4..07ede21531 100755
--- a/tests/bugs/modalg_4/bug6182
+++ b/tests/bugs/modalg_4/bug6182
@@ -9,6 +9,7 @@ puts ""
 set BugNumber OCC6182
 
 restore [locate_data_file OCC6182_A.brep] s1 
+updatetolerance s1
 restore [locate_data_file OCC6182_B.brep] s2 
 
 decho off
diff --git a/tests/bugs/modalg_4/bug6272_85 b/tests/bugs/modalg_4/bug6272_85
index a35fd9446e..5c974a7a50 100755
--- a/tests/bugs/modalg_4/bug6272_85
+++ b/tests/bugs/modalg_4/bug6272_85
@@ -9,6 +9,7 @@ puts ""
 set BugNumber OCC6272
 
 restore [locate_data_file OCC6272_bridge2.brep] a1 
+updatetolerance a1
 
 #
 # a1 is compound. It containes a_3, a_5, a_1, a_2, a_4, a_6 solids
diff --git a/tests/bugs/modalg_4/bug6272_86 b/tests/bugs/modalg_4/bug6272_86
index 1c64b335b6..f9bf1a31e5 100755
--- a/tests/bugs/modalg_4/bug6272_86
+++ b/tests/bugs/modalg_4/bug6272_86
@@ -9,6 +9,7 @@ puts ""
 set BugNumber OCC6272
 
 restore [locate_data_file OCC6272_bridge2.brep] a1 
+updatetolerance a1
 
 #
 # a1 is compound. It containes a_3, a_5, a_1, a_2, a_4, a_6 solids
diff --git a/tests/bugs/modalg_4/bug697_3 b/tests/bugs/modalg_4/bug697_3
index 062a87919f..8e01254099 100755
--- a/tests/bugs/modalg_4/bug697_3
+++ b/tests/bugs/modalg_4/bug697_3
@@ -10,6 +10,7 @@ puts ""
 ######################################################
 
 restore [locate_data_file OCC697_1.brep] b1 
+updatetolerance b1
 restore [locate_data_file OCC697_2.brep] b2 
 
 checkshape b1
diff --git a/tests/bugs/modalg_4/bug697_5 b/tests/bugs/modalg_4/bug697_5
index c9c5e67dad..438607f8cf 100755
--- a/tests/bugs/modalg_4/bug697_5
+++ b/tests/bugs/modalg_4/bug697_5
@@ -10,6 +10,7 @@ puts ""
 ######################################################
 
 restore [locate_data_file OCC697_1.brep] b1 
+updatetolerance b1
 restore [locate_data_file OCC697_2.brep] b2 
 
 checkshape b1
diff --git a/tests/bugs/modalg_4/bug697_6 b/tests/bugs/modalg_4/bug697_6
index 2188a19a5d..9fdfd8909c 100755
--- a/tests/bugs/modalg_4/bug697_6
+++ b/tests/bugs/modalg_4/bug697_6
@@ -10,6 +10,7 @@ puts ""
 ######################################################
 
 restore [locate_data_file OCC697_1.brep] b1 
+updatetolerance b1
 restore [locate_data_file OCC697_2.brep] b2 
 
 checkshape b1