0026622: Tests - Avoid using dlog and decho commands in test scripts
[occt.git] / tests / bugs / moddata_2 / bug325
index 943aba9..db661b5 100755 (executable)
@@ -1,3 +1,4 @@
+puts "REQUIRED All: Faulty shapes in variables faulty_1 to faulty_"
 puts "========================"
 puts " OCC325 "
 puts "========================"
@@ -8,14 +9,6 @@ puts ""
 
 restore [locate_data_file OCC325.brep] result
 
-decho off
-set che [checkshape result]
-decho on
-
-if { [regexp {Faulty} $che ] != 1} {
-    puts "Faulty OCC325: Checkshape command works wrongly"
-} else {
-    puts "OCC325 OK : Checkshape command works properly"
-}
+checkshape result
 
 set 2dviewer 0