]> OCCT Git - occt-copy.git/commitdiff
0026237: Change platform in TODOs from Debian\Mandriva to Linux
authorapn <apn@opencascade.com>
Thu, 21 May 2015 12:50:31 +0000 (15:50 +0300)
committervsr <vsr@opencascade.com>
Wed, 10 Jun 2015 13:29:58 +0000 (16:29 +0300)
Change platform in occt test cases in TODOs from Debian\Mandriva to Linux

Small corrections in test cases. Return procedure _tests_platform_def.

93 files changed:
src/DrawResources/TestCommands.tcl
tests/boolean/gdml_private/B5
tests/boolean/gdml_private/F8
tests/boolean/gdml_private/G1
tests/boolean/gdml_private/G7
tests/boolean/gdml_private/J4
tests/boolean/gdml_private/K8
tests/boolean/gdml_private/L3
tests/boolean/gdml_private/L4
tests/boolean/gdml_private/L5
tests/boolean/gdml_private/W2
tests/boolean/gdml_private/ZE4
tests/boolean/gdml_private/ZK3
tests/boolean/volumemaker/A4
tests/boolean/volumemaker/A7
tests/boolean/volumemaker/B3
tests/boolean/volumemaker/B4
tests/boolean/volumemaker/B6
tests/boolean/volumemaker/B9
tests/boolean/volumemaker/C1
tests/boolean/volumemaker/C3
tests/boolean/volumemaker/C9
tests/boolean/volumemaker/D2
tests/boolean/volumemaker/D4
tests/boolean/volumemaker/D5
tests/boolean/volumemaker/D8
tests/boolean/volumemaker/E4
tests/boolean/volumemaker/F1
tests/bugs/caf/bug1138
tests/bugs/fclasses/bug63
tests/bugs/fclasses/bug7287_2
tests/bugs/fclasses/bug7287_3
tests/bugs/fclasses/bug7287_4
tests/bugs/fclasses/bug7287_5
tests/bugs/fclasses/bug7287_6
tests/bugs/iges/buc60591_1
tests/bugs/iges/buc60591_2
tests/bugs/iges/buc60591_3
tests/bugs/iges/buc60591_4
tests/bugs/modalg_2/bug426
tests/bugs/moddata_1/bug22759
tests/bugs/moddata_2/bug567
tests/bugs/step/buc60948
tests/bugs/step/bug23379
tests/bugs/step/bug46
tests/bugs/step/bug51
tests/bugs/vis/buc60632_1
tests/bugs/vis/buc60632_2
tests/bugs/vis/bug137_10
tests/bugs/vis/bug137_11
tests/bugs/vis/bug137_9
tests/bugs/vis/bug22188
tests/bugs/vis/bug232
tests/bugs/vis/bug25732_1
tests/bugs/xde/bug184
tests/bugs/xde/bug23384
tests/bugs/xde/bug314
tests/bugs/xde/bug321
tests/chamfer/data/complex/B4
tests/chamfer/data/complex/B5
tests/chamfer/data/complex/B6
tests/chamfer/data/complex/B7
tests/chamfer/data/complex/B9
tests/de/step_3/F3
tests/demo/draw/getsource
tests/draft/angle/G8
tests/draft/angle/M2
tests/heal/data/advanced/X1
tests/heal/data/advanced/Y6
tests/heal/data/advanced/ZF1
tests/heal/data/advanced/ZF2
tests/mesh/data/standard/G1
tests/mesh/data/standard/U7
tests/mesh/data/standard/W4
tests/mesh/end
tests/offset/wire_closed_inside_0_005/D1
tests/offset/wire_closed_inside_0_005/H6
tests/offset/wire_closed_inside_0_005/I8
tests/offset/wire_closed_inside_0_025/H6
tests/offset/wire_closed_inside_0_025/I8
tests/offset/wire_closed_inside_0_075/H6
tests/offset/wire_closed_inside_0_075/I8
tests/offset/wire_closed_outside_0_005/C6
tests/offset/wire_closed_outside_0_005/D1
tests/offset/wire_closed_outside_0_005/H6
tests/offset/wire_closed_outside_0_025/C6
tests/offset/wire_closed_outside_0_025/H6
tests/offset/wire_closed_outside_0_075/C6
tests/offset/wire_closed_outside_0_075/H6
tests/offset/wire_closed_outside_0_075/I3
tests/offset/wire_unclosed_outside_0_005/A1
tests/offset/wire_unclosed_outside_0_005/B8
tests/xml/begin

index 5e24abc41cab57bcb32432b51ebe6a0ac1eb1715..1b00089ec2d599dee8b34e931cc07cff4a85a0d1 100644 (file)
@@ -1657,33 +1657,13 @@ proc _tests_platform_def {} {
     global env tcl_platform
 
     if [info exists env(os_type)] { return }
-
     set env(os_type) $tcl_platform(platform)
-
-    # use detailed mapping for various versions of Lunix
-    # (note that mapping is rather non-uniform, for historical reasons)
-    if { $tcl_platform(os) == "Linux" && ! [catch {exec cat /etc/issue} issue] } {
-       if { [regexp {Mandriva[ \tA-Za-z]+([0-9]+)} $issue res num] } {
-           set env(os_type) Mandriva$num
-       } elseif { [regexp {Red Hat[ \tA-Za-z]+([0-9]+)} $issue res num] } {
-           set env(os_type) RedHat$num
-       } elseif { [regexp {Debian[ \tA-Za-z/]+([0-9]+)[.]([0-9]+)} $issue res num subnum] } {
-           set env(os_type) Debian$num$subnum
-       } elseif { [regexp {Debian[ \tA-Za-z/]+([0-9]+)} $issue res num] } {
-           set env(os_type) Debian${num}0
-       } elseif { [regexp {CentOS[ \tA-Za-z]+([0-9]+)[.]([0-9]+)} $issue res num subnum] } {
-           set env(os_type) CentOS$num$subnum
-       } elseif { [regexp {Scientific[ \tA-Za-z]+([0-9]+)[.]([0-9]+)} $issue res num subnum] } {
-           set env(os_type) SL$num$subnum
-       } elseif { [regexp {Fedora Core[ \tA-Za-z]+([0-9]+)} $issue res num] } {
-           set env(os_type) FedoraCore$num
-       }
-       if { [exec uname -m] == "x86_64" } {
-           set env(os_type) "$env(os_type)-64"
-       }
-    } elseif { $tcl_platform(os) == "Darwin" } {
-        set env(os_type) MacOS
+       if { $tcl_platform(os) == "Linux" } {
+        set env(os_type) Linux
     }
+       if { $tcl_platform(os) == "Darwin" } {
+        set env(os_type) MacOS
+    } 
 }
 _tests_platform_def
 
index 4dd96d4c10c31161095c2b29386c1b64e16fa3c1..fb4b8d5e81971bfeb6a4203dfe6b519073403454 100644 (file)
@@ -1,8 +1,8 @@
 # ? - because sometimes test is killed by elapsed time
 puts "TODO OCC26018 ALL: TEST INCOMPLETE"
 puts "TODO ?OCC26018 ALL: Process killed by CPU limit"
-puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
-puts "TODO ?OCC26017 Debian70-64: An exception was caught"
+puts "TODO ?OCC26017 Linux: \\*\\* Exception"
+puts "TODO ?OCC26017 Linux: An exception was caught"
 puts "TODO ?OCC26017 ALL: Tcl Exception:"
 puts "TODO ?OCC26017 ALL: Error: sh141385A0_copy is not a valid shape"
 puts "TODO ?OCC26017 ALL Error: sh59D36470_copy is not a valid shape"
index cb909311e125ac7c97d35d15d818a871df8c3d58..b15ffc3832efd888122541e8a8d78324728b83cc 100644 (file)
@@ -1,5 +1,5 @@
 puts "TODO OCC26018 ALL: Error : The area of the resulting shape is"
-puts "TODO OCC26018 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
+puts "TODO OCC26018 Linux: Faulty shapes in variables faulty_1 to faulty_"
 puts "TODO ?OCC26017 Windows: Faulty shapes in variables faulty_1 to faulty_"
 source [locate_data_file 20000_et1_401-ta6027.prt.2.gdml.tcl]
 
index 8ae3d9c647e27f507c9dc6a167f84ee3d1b091dd..57b888cfe8bc335a0fe63f1702caa4061a929098 100644 (file)
@@ -1,7 +1,7 @@
-puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
-puts "TODO ?OCC26017 Debian70-64: An exception was caught"
+puts "TODO ?OCC26017 Linux: \\*\\* Exception"
+puts "TODO ?OCC26017 Linux: An exception was caught"
 puts "TODO ?OCC26017 ALL: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO ?OCC26017 Debian70-64: Process killed by CPU limit"
-puts "TODO ?OCC26017 Debian70-64: TEST INCOMPLETE"
+puts "TODO ?OCC26017 Linux: Process killed by CPU limit"
+puts "TODO ?OCC26017 Linux: TEST INCOMPLETE"
 source [locate_data_file 20000_et1_401-ta6029.prt.2.gdml.tcl]
 
index 4f174e3402565dff222a313d665a206063352b3c..1af9cde9a7c03a0518a9539b2769b00c34e4026d 100644 (file)
@@ -1,5 +1,5 @@
 puts "TODO OCC26018 ALL: Error : The area of the resulting shape is"
-puts "TODO OCC26018 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
+puts "TODO OCC26018 Linux: Faulty shapes in variables faulty_1 to faulty_"
 source [locate_data_file 20000_et3_401-ta6037.prt.2.gdml.tcl]
 
 ## image is differ from application
index bd6ae6456abc192ef3a617d50979f4e1dc32d2a9..220be3d348288175e7b28ec49aa0c5573cf113ce 100644 (file)
@@ -1,4 +1,4 @@
 puts "TODO OCC26018 Windows: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO ?OCC26017 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
+puts "TODO ?OCC26017 Linux: Faulty shapes in variables faulty_1 to faulty_"
 source [locate_data_file 20000_et5_401-ta6160.prt.2.gdml.tcl]
 
index 84e21072199832d8cc11913a56160101ba06b20b..6071518e62b9a3dfe47b2577d3dac20b41c293f8 100644 (file)
@@ -1,7 +1,7 @@
 # ? - because sometimes test is killed by elapsed time
 
-puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
-puts "TODO ?OCC26017 Debian70-64: An exception was caught"
+puts "TODO ?OCC26017 Linux: \\*\\* Exception"
+puts "TODO ?OCC26017 Linux: An exception was caught"
 puts "TODO ?OCC26017 ALL: TEST INCOMPLETE"
 puts "TODO ?OCC26017 ALL: Process killed by CPU limit"
 puts "TODO ?OCC26017 ALL: Faulty shapes in variables faulty_1 to faulty_"
index 94dd71572af06edc0d1a150a89ffe1d866d49f08..eecc4a4c4ecc3f6aa3785b52c76ec454fdf5b690 100644 (file)
@@ -1,7 +1,7 @@
 puts "TODO ?OCC26017 ALL: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
-puts "TODO ?OCC26017 Debian70-64: An exception was caught"
-puts "TODO ?OCC26017 Debian70-64: TEST INCOMPLETE"
-puts "TODO ?OCC26017 Debian70-64: Process killed by CPU limit"
+puts "TODO ?OCC26017 Linux: \\*\\* Exception"
+puts "TODO ?OCC26017 Linux: An exception was caught"
+puts "TODO ?OCC26017 Linux: TEST INCOMPLETE"
+puts "TODO ?OCC26017 Linux: Process killed by CPU limit"
 source [locate_data_file 20000_g1-2_et1.asm.5.gdml.tcl]
 
index dad93ba810d3b34bab7b57027deed2450e6f81bf..5c524036b65280ab666c6598d50b1bbc16133ae5 100644 (file)
@@ -1,5 +1,5 @@
 puts "TODO OCC26018 ALL: Error : The area of the resulting shape is"
-puts "TODO OCC26018 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
+puts "TODO OCC26018 Linux: Faulty shapes in variables faulty_1 to faulty_"
 source [locate_data_file 20000_g1-2_et3.asm.2.gdml.tcl]
 
 ## image is differ from application
index d6fe0aad8fd9cda95f57c9313dd5f0a9d716da29..6abb59c523d0a4aa66d654c8a8b76ce171212bf0 100644 (file)
@@ -1,7 +1,7 @@
 puts "TODO ?OCC26017 ALL: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO ?OCC26017 Debian70-64: XIO:  fatal IO error"
-puts "TODO ?OCC26017 Debian70-64: TEST INCOMPLETE"
-puts "TODO ?OCC26017 Debian70-64: Tcl Exception"
-puts "TODO ?OCC26017 Debian70-64: Error: shC26D310_copy is not a valid shape"
+puts "TODO ?OCC26017 Linux: XIO:  fatal IO error"
+puts "TODO ?OCC26017 Linux: TEST INCOMPLETE"
+puts "TODO ?OCC26017 Linux: Tcl Exception"
+puts "TODO ?OCC26017 Linux: Error: shC26D310_copy is not a valid shape"
 source [locate_data_file 20000_g1-2_et4.asm.3.gdml.tcl]
 
index a3ce45762b80fc382025a661ac511a9b3270cdbf..a98d027848dde0d26663edd2cfb3c0c1c01abd69 100644 (file)
@@ -1,6 +1,6 @@
 puts "TODO ?OCC26017 ALL: TEST INCOMPLETE"
-puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
-puts "TODO ?OCC26017 Debian70-64: An exception was caught"
+puts "TODO ?OCC26017 Linux: \\*\\* Exception"
+puts "TODO ?OCC26017 Linux: An exception was caught"
 puts "TODO ?OCC26017 ALL: Faulty shapes in variables faulty_1 to faulty_"
 puts "TODO ?OCC26017 ALL: Process killed by CPU limit"
 source [locate_data_file 20000_ss2_401-ta5993.prt.2.gdml.tcl]
index 42ae5d16f0c23b4687496c0143848664083e7c5c..33657d0544eb66bdab6d8d5f5bf191b36607ab38 100644 (file)
@@ -1,5 +1,5 @@
-puts "TODO ?OCC26017 Debian70-64: TEST INCOMPLETE"
-puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
-puts "TODO ?OCC26017 Debian70-64: An exception was caught"
+puts "TODO ?OCC26017 Linux: TEST INCOMPLETE"
+puts "TODO ?OCC26017 Linux: \\*\\* Exception"
+puts "TODO ?OCC26017 Linux: An exception was caught"
 source [locate_data_file 401-ta6001-3.prt.1.gdml.tcl]
 
index dd4f047f9d88534ca5bada9da95e9202caeda575..2953183861a199ad54c0db938b46d90a30da39b2 100644 (file)
@@ -1,8 +1,8 @@
-puts "TODO ?OCC26017 Debian70-64: TEST INCOMPLETE"
-puts "TODO ?OCC26017 Debian70-64: \\*\\* Exception"
-puts "TODO ?OCC26017 Debian70-64: An exception was caught"
-puts "TODO ?OCC26017 Debian70-64: X Error of failed request"
-puts "TODO ?OCC26017 Debian70-64: XIO:  fatal IO error 11"
-puts "TODO ?OCC26017 Debian70-64: Process killed by CPU limit"
+puts "TODO ?OCC26017 Linux: TEST INCOMPLETE"
+puts "TODO ?OCC26017 Linux: \\*\\* Exception"
+puts "TODO ?OCC26017 Linux: An exception was caught"
+puts "TODO ?OCC26017 Linux: X Error of failed request"
+puts "TODO ?OCC26017 Linux: XIO:  fatal IO error 11"
+puts "TODO ?OCC26017 Linux: Process killed by CPU limit"
 source [locate_data_file voile_3.asm.1.gdml.tcl]
 
index 118058c429252516846f34d944739c9573e3ec31..f41e0732fa0f764771e514303e3c37f22321b4b8 100644 (file)
@@ -3,7 +3,7 @@
 
 puts "TODO ?OCC26019 ALL: Error: bopcheck failed"
 puts "TODO ?OCC26019 ALL: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO ?OCC26019 Debian70-64: Error : The area of the resulting shape is"
+puts "TODO ?OCC26019 Linux: Error : The area of the resulting shape is"
 
 # planar face 
 plane pln_f1 -2740.6595835899998 -150 -1050 1.110223024625157e-016 1 1.1102230246251563e-016
index 881ae1dda17201400e1ca896b2d650338622df60..352dd946bb866051e372af8f7e918bf5e6ed16aa 100644 (file)
@@ -3,7 +3,7 @@
 
 puts "TODO ?OCC26019 ALL: Error: bopcheck failed"
 puts "TODO ?OCC26019 ALL: Error : The area of the resulting shape"
-puts "TODO ?OCC26019 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
+puts "TODO ?OCC26019 Linux: Faulty shapes in variables faulty_1 to faulty_"
 
 # planar face 
 plane pln_f1 -1863.18155559 1250 -1538.57262704 1.110223024625157e-016 1 1.1102230246251563e-016
index 328ff5d399d53ef90666648d8740cad12008bf6c..ab548307df4b1cc146b45922bdd28c22e8f28b46 100644 (file)
@@ -2,8 +2,8 @@
 # plane
 
 puts "TODO OCC26020 ALL: Error: bopcheck failed"
-puts "TODO OCC26020 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
+puts "TODO OCC26020 Linux: Faulty shapes in variables faulty_1 to faulty_"
+puts "TODO OCC26020 Linux: Error : The area of the resulting shape is"
 
 # planar face 
 plane pln_f1 590.6877421677151 -519.8775759738943 -93.555747452441423 0.64798185367609173 0.7547095802227719 -0.10263024323494339
index c4bc4f612bc7ed40beae6267b5733b5b55b71961..b412ef4c31bc61f948260174893cdb2d2727638d 100644 (file)
@@ -3,7 +3,7 @@
 
 puts "TODO OCC26020 ALL: Error: bopcheck failed"
 puts "TODO ?OCC26019 ALL: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
+puts "TODO OCC26020 Linux: Error : The area of the resulting shape is"
 
 # planar face 
 plane pln_f1 79.400363856921899 8.7220982904821555e-015 -94.116057183203139 -0.83335943573869897 -2.2204460492503131e-016 -0.55273144551877762
index c5577ed9bdecefe83a53dd4d6fa06ad817a9cfce..b8d4779af22a17a6ba4975568c9f5c978ac907c3 100644 (file)
@@ -3,7 +3,7 @@
 
 puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_"
 puts "TODO OCC26020 ALL: Error: bopcheck failed"
-puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
+puts "TODO OCC26020 Linux: Error : The area of the resulting shape is"
 
 # planar face 
 plane pln_f1 35.877464033656999 5.9462928582193458e-016 -25.973690230789806 -0.64944804833018333 -3.0834627769631957e-016 -0.76040596560003137
index 6c8156812a111b128e91bfc1e3307067d816fc61..4bedb2a81842bb1e9fcd934137c94cd2d1d25a09 100644 (file)
@@ -3,7 +3,7 @@
 
 puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_"
 puts "TODO OCC26020 ALL: Error: bopcheck failed"
-puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
+puts "TODO OCC26020 Linux: Error : The area of the resulting shape is"
 
 # planar face 
 plane pln_f1 32.294537607197917 1.8096910201742288e-014 -39.176406819310692 -0.77162458338772011 -6.6613381477509373e-016 -0.63607822027776384
index 3f33cc5213877be056e6a430aeee3cfb770c4579..4849aac87ad008f163a44c3cf9c6e8644b2978f8 100644 (file)
@@ -2,8 +2,8 @@
 # plane
 
 puts "TODO OCC26020 Windows: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
-puts "TODO OCC26020 Debian70-64: Error: bopcheck failed"
+puts "TODO OCC26020 Linux: Error : The area of the resulting shape is"
+puts "TODO OCC26020 Linux: Error: bopcheck failed"
 
 # planar face 
 plane pln_f1 -331.49269816258993 -487.15663197846379 -460.05843051255943 -0.29784456643004237 0.75470958022277179 -0.58455287508322795
index dd45a213cbf329562f807fc65e852549b22d2da2..52eba83bc848d776ada12f9a4dec28cb9c545edd 100644 (file)
@@ -2,8 +2,8 @@
 # plane
 
 puts "TODO OCC26020 Windows: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO OCC26020 Debian70-64: Error : The mkvolume is not valid. The area is"
-puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
+puts "TODO OCC26020 Linux: Error : The mkvolume is not valid. The area is"
+puts "TODO OCC26020 Linux: Error : The area of the resulting shape is"
 
 # planar face 
 plane pln_f1 -513.57358775546049 376.87261141864394 391.24411461018769 -0.35888381816183362 -0.86162916044152549 0.35888381816183351
index fb8937e36b264d2637486b1f1dc9f050b1601c84..2ba08d8dce3f788495a9f45597fa95e615a49f5e 100644 (file)
@@ -2,8 +2,8 @@
 # cylinder plane unstable
 
 puts "TODO ?OCC26019 ALL: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO ?OCC26019 Debian70-64: Error: bopcheck failed"
-puts "TODO ?OCC26019 Debian70-64: Error : The area of the resulting shape is"
+puts "TODO ?OCC26019 Linux: Error: bopcheck failed"
+puts "TODO ?OCC26019 Linux: Error : The area of the resulting shape is"
 
 # planar face 
 plane pln_f1 0 -875 -1.4432899320127035e-014 0 1 1.1102230246251565e-016
index a89e87220d753888186390e1ae02bcf82e7860e4..34540c42c54302620a67d9eca34c9c7b838ddd1b 100644 (file)
@@ -3,7 +3,7 @@
 
 puts "TODO ?OCC26019 ALL: Error: bopcheck failed"
 puts "TODO ?OCC26019 ALL: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO ?OCC26019 Debian70-64: Error : The area of the resulting shape is"
+puts "TODO ?OCC26019 Linux: Error : The area of the resulting shape is"
 
 # planar face 
 plane pln_f1 0 -232.5 3.8857805861880479e-015 0 -1 -1.1102230246251565e-016
index f4c886fdfc3aefadba967eea6f50ccaaa5ccb2f5..e66854d180a48ecd773528817029d5e24123b5f0 100644 (file)
@@ -2,7 +2,7 @@
 # cylinder plane
 
 puts "TODO OCC26020 ALL: Error: bopcheck failed"
-puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
+puts "TODO OCC26020 Linux: Error : The area of the resulting shape is"
 
 # planar face 
 plane pln_f1 1665.7013364039071 -825 -339.75605834598957 0.15643446504023129 4.4408920985006257e-016 0.98768834059513766
index 01af5f931c54eed3a3054c11cb6bf02a5a450bb3..a39f4acdd934d755a7d6e716902681e953e94ba6 100644 (file)
@@ -2,7 +2,7 @@
 # cylinder plane
 
 puts "TODO OCC26020 ALL: Error: bopcheck failed"
-puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
+puts "TODO OCC26020 Linux: Error : The area of the resulting shape is"
 
 # planar face 
 plane pln_f1 0 -1450 -4.4408920985006262e-015 0 1 1.1102230246251565e-016
index 696a344941689d228cf485ed2fb76cf0868a4375..969b7b4c4c25c20e5f58df990ad90e63730a3112 100644 (file)
@@ -2,8 +2,8 @@
 # cylinder plane
 
 puts "TODO OCC26020 ALL: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO OCC26020 Debian70-64: Error: bopcheck failed"
-puts "TODO OCC26020 Debian70-64: Error : The area of the resulting shape is"
+puts "TODO OCC26020 Linux: Error: bopcheck failed"
+puts "TODO OCC26020 Linux: Error : The area of the resulting shape is"
 
 # planar face 
 plane pln_f1 -335.23319463083521 698.25 1031.741684575172 0.95105651629515375 3.3306690738754676e-016 0.30901699437494723
index 3d600d502af00309f2903cdc37ad8d5cb3de900d..3fdf57e3ad993f2130f8d33afdafbe3934ca883c 100644 (file)
@@ -4,8 +4,8 @@
 
 puts "TODO OCC26020 ALL: TEST INCOMPLETE"
 puts "TODO ?OCC26020 ALL: Process killed by CPU limit"
-puts "TODO ?OCC26020 Debian70-64: \\*\\* Exception"
-puts "TODO ?OCC26020 Debian70-64: An exception"
+puts "TODO ?OCC26020 Linux: \\*\\* Exception"
+puts "TODO ?OCC26020 Linux: An exception"
 
 # planar face 
 plane pln_f1 460.8377555733228 -1160 121.87519451048833 -0.17364817766693036 1.1223734950417248e-017 0.98480775301220813
index e1f05d610ccf7e747561655702325d1062496a65..12e45c1691faa1ed415fee2a20075a7e9947f695 100644 (file)
@@ -4,8 +4,8 @@
 
 puts "TODO OCC26020 Windows: Error status"
 puts "TODO OCC26020 Windows: TEST INCOMPLETE"
-puts "TODO OCC26020 Debian70-64: Faulty shapes in variables faulty_1 to faulty_"
-puts "TODO ?OCC26019 Debian70-64: Error: bopcheck failed"
+puts "TODO OCC26020 Linux: Faulty shapes in variables faulty_1 to faulty_"
+puts "TODO ?OCC26019 Linux: Error: bopcheck failed"
 
 # planar face 
 plane pln_f1 -2.4595121467478056e-014 -746.52181700999995 1844.22896887 0.86602540378443849 -0.47367733686073094 -0.16009303715192033
index b142b58185cdac393cb1f93a3cfd34d1c7995cb7..2fa8b988c239713c489e28b60e17ecdbf0ed9a4e 100755 (executable)
@@ -1,6 +1,6 @@
-puts "TODO ?OCC12345 Debian70-64: An exception was caught"
-puts "TODO ?OCC12345 Debian70-64: Faulty OCC1138 : here is reading problem when the filename is a directory name."
-puts "TODO ?OCC12345 Debian70-64: Faulty OCC1138"
+puts "TODO ?OCC12345 Linux: An exception was caught"
+puts "TODO ?OCC12345 Linux: Faulty OCC1138 : here is reading problem when the filename is a directory name."
+puts "TODO ?OCC12345 Linux: Faulty OCC1138"
 
 puts "================"
 puts "OCC1138"
index 068309dcd9b4c4b1dfe3d2cf0acb6713bb6aed11..97c45ca4e7fdc78e64cf4758cab84373bee15e8d 100755 (executable)
@@ -1,5 +1,5 @@
-puts "TODO OCC23626 Debian70-64 Windows: Tcl Exception"
-puts "TODO OCC23626 Debian70-64 Windows: TEST INCOMPLETE"
+puts "TODO OCC23626 ALL: Tcl Exception"
+puts "TODO OCC23626 ALL: TEST INCOMPLETE"
 
 puts "================"
 puts "OCC63"
index e652c98f0b47e29473ad98c1b7a8622373376c33..82469ebf2553baf8dd15e925f6e840bc53132b31 100755 (executable)
@@ -1,5 +1,5 @@
-puts "TODO ?OCC25921 Debian70-64: Tcl Exception: Memory leak detected"
-puts "TODO ?OCC25921 Debian70-64: TEST INCOMPLETE"
+puts "TODO ?OCC25921 Linux: Tcl Exception: Memory leak detected"
+puts "TODO ?OCC25921 Linux: TEST INCOMPLETE"
 
 puts "============"
 puts "OCC7287"
index fd2b43cfc7620c7c9b5a0b1cb1c0fcbf1e53913f..28488b74d51d1be8383a7ef688cb632506b25f99 100755 (executable)
@@ -1,5 +1,5 @@
-puts "TODO ?OCC25921 Debian70-64: Tcl Exception: Memory leak detected"
-puts "TODO ?OCC25921 Debian70-64: TEST INCOMPLETE"
+puts "TODO ?OCC25921 Linux: Tcl Exception: Memory leak detected"
+puts "TODO ?OCC25921 Linux: TEST INCOMPLETE"
 
 puts "============"
 puts "OCC7287"
index 9083edc170e24c18b5f03effc706ac31a211b1a2..9213c7c693188962eadeed08d071eb6d21211ffe 100755 (executable)
@@ -1,5 +1,5 @@
-puts "TODO ?OCC25921 Debian70-64: Tcl Exception: Memory leak detected"
-puts "TODO ?OCC25921 Debian70-64: TEST INCOMPLETE"
+puts "TODO ?OCC25921 Linux: Tcl Exception: Memory leak detected"
+puts "TODO ?OCC25921 Linux: TEST INCOMPLETE"
 
 puts "============"
 puts "OCC7287"
index 0bd8886210d6a884da4952e01c45f9c8ffb630c5..4e6b93397ab144a9891b5ceed63cabae403c5a93 100755 (executable)
@@ -1,5 +1,5 @@
-puts "TODO ?OCC25921 Debian70-64: Tcl Exception: Memory leak detected"
-puts "TODO ?OCC25921 Debian70-64: TEST INCOMPLETE"
+puts "TODO ?OCC25921 Linux: Tcl Exception: Memory leak detected"
+puts "TODO ?OCC25921 Linux: TEST INCOMPLETE"
 
 
 puts "============"
index 4b92c8703bb2c66b176f2457c8d8106069f3a5e5..09bc1380f2744bfadc41461867b15e9183a50b1b 100755 (executable)
@@ -1,5 +1,5 @@
-puts "TODO ?OCC25921 Debian70-64: Tcl Exception: Memory leak detected"
-puts "TODO ?OCC25921 Debian70-64: TEST INCOMPLETE"
+puts "TODO ?OCC25921 Linux: Tcl Exception: Memory leak detected"
+puts "TODO ?OCC25921 Linux: TEST INCOMPLETE"
 
 puts "============"
 puts "OCC7287"
index 4ea9ec846f3dcd2e9b453f3036dc54670109eed3..7108a2c197d586a4dfe84fe4954cf808dde241fd 100755 (executable)
@@ -1,5 +1,3 @@
-set os $env(os_type)
-
 puts "=========="
 puts "BUC60591"
 puts "=========="
index a5dad57e443145f3c827985c9b6e6536b593f5e7..c09cfaf54592de7ea65ddb2bdb11ded872decda1 100755 (executable)
@@ -1,5 +1,3 @@
-set os $env(os_type)
-
 puts "=================================="
 puts "BUC60591"
 puts "=================================="
index 3d17511fd9afdc44dbe6096a7df7aba64d54958f..71bf882d7465ff395716156d952a72ae8106cb30 100755 (executable)
@@ -1,5 +1,3 @@
-set os $env(os_type)
-
 puts "=================================="
 puts "BUC60591"
 puts "=================================="
index 8aae3abb8796f1514f2435ca9df57ce87bbaab05..ed8b0f903efe48a1eb288185fcbe1337035901bc 100755 (executable)
@@ -1,5 +1,3 @@
-set os $env(os_type)
-
 puts "BUC60591"
 puts ""
 puts "=================================="
index 9425e5f311d93030b165e14cb725e30a6883ac10..1b51ab870729b51061c93d26faf9ea786896b615 100755 (executable)
@@ -1,7 +1,5 @@
-if {[array get env os_type] != ""} {
-    set os $env(os_type)
-}
-if {[string compare $os "windows"] != 0 } {
+set env(os_type) $tcl_platform(platform)
+if {[string compare $env(os_type) "windows"] != 0 } {
     puts "TODO ?OCC12345 MacOS: \\*\\* Exception"
     puts "TODO ?OCC12345 MacOS: An exception was caught"
     puts "TODO ?OCC12345 MacOS: TEST INCOMPLETE"
index e93a2c52c82dd0f8c7cb1cf48d63f50445930733..82c4d6cb5840dfa214d30e1f9783c8ee1a9acc72 100755 (executable)
@@ -25,10 +25,8 @@ regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
 
 regexp {deflection +([-0-9.+eE]+)} $tri_info full defl
 
-if { [array get env os_type] != "" } {
-   set os $env(os_type)
-}
-if { [string compare $os "windows"] != 0 } {
+set env(os_type) $tcl_platform(platform)
+if { [string compare $env(os_type) "windows"] != 0 } {
    puts "OS = Linux"
    set good_tri  520414
    set good_nod  263938
index 8d15f3b14aeb10658a1d83eb4917290b67160058..c2d2e7416f659c51373b131156fbb2b578e235fb 100755 (executable)
@@ -1,5 +1,5 @@
 puts "TODO OCC12345 ALL: Faulty OCC565: function intersection works wrongly with trimmed Surfaces"
-puts "TODO OCC12345 Debian70-64 MacOS: Faulty OCC565: function intersection works wrongly with infinite Surfaces"
+puts "TODO OCC12345 Linux MacOS: Faulty OCC565: function intersection works wrongly with infinite Surfaces"
 
 puts "========"
 puts "OCC567"
index a85ad1b97d2cb7d13371b54c3f61d3c6e4573a1f..b65e586df39577cf45284170516541583b0c089e 100755 (executable)
@@ -1,8 +1,6 @@
 puts "TODO OCC24156 MacOS: \\*\\*\\* Abort"
 puts "TODO OCC24156 MacOS: ... The exception is"
 
-set os $env(os_type)
-
 puts "========================"
 puts "BUC60948"
 puts "========================"
index 96ed4c7ea650440719ed75a93c3b531acebb81a1..ab72161bc54bf5e091ffbe1b62af09059e0ea910 100755 (executable)
@@ -1,5 +1,3 @@
-set os $env(os_type)
-
 puts "================"
 puts "OCC23379"
 puts "================"
index d1cb81b42bf28d376815032ae175f7fc275eb460..05711843701b3b7c6bc05ff5c2e2c189ac9c2cd9 100755 (executable)
@@ -1,5 +1,3 @@
-set os $env(os_type)
-
 puts "================"
 puts "OCC46"
 puts "================"
index 8e426c52d10ffcdcd1143d53c9f145092ac7b966..3a1955dedfd6e25c02aeca195c91c0f8c55fa43d 100755 (executable)
@@ -1,5 +1,3 @@
-set os $env(os_type)
-
 puts "================"
 puts "OCC51"
 puts "================"
index 1dcf5dddc427592d6f23feac4bc770e31259ace5..1a4784f22a070ef4e336ba3ae50c5e93c5f4c4ce 100755 (executable)
@@ -1,9 +1,3 @@
-if { [array get env os_type] != "" } {
-    set os $env(os_type)
-}
-if { [string compare $os "windows"] != 0 } {
-}
-
 puts "================"
 puts "BUC60632"
 puts "================"
index ea6e9493b0f311a5add2c1ae7718425589f01230..014eb2b9f20ddfeee6574e1116bd1533b57d041c 100755 (executable)
@@ -1,9 +1,3 @@
-if { [array get env os_type] != "" } {
-    set os $env(os_type)
-}
-if { [string compare $os "windows"] != 0 } {
-}
-
 puts "================"
 puts "BUC60632"
 puts "================"
index 034d11e8d1196903d6edd97188d8c2eba9b8187c..fa631b02f161f4860d9ce7e71bef2fa82e0feb6c 100755 (executable)
@@ -1,9 +1,3 @@
-if { [array get env os_type] != "" } {
-   set os $env(os_type)
-}
-if { [string compare $os "windows"] != 0 } {
-}
-
 puts "================"
 puts "OCC137"
 puts "================"
index 9d872a16daed63be84cc094cdd970e8c12c3dce6..03db837ca375282f55397450567b5b65ee9b5dad 100755 (executable)
@@ -1,9 +1,3 @@
-if { [array get env os_type] != "" } {
-   set os $env(os_type)
-}
-if { [string compare $os "windows"] != 0 } {
-}
-
 puts "================"
 puts "OCC137"
 puts "================"
index 55465ac8186009df9f340de1bf68d59c1cba0d71..5174ea965aeed0b96392125ecdb146eb8f818dd6 100755 (executable)
@@ -1,9 +1,3 @@
-if { [array get env os_type] != "" } {
-   set os $env(os_type)
-}
-if { [string compare $os "windows"] != 0 } {
-}
-
 puts "================"
 puts "OCC137"
 puts "================"
index e76cec22aa9de6b43a531721f9f96f8fbfac81e2..e7d8b9898e9f1e3e041453fee2fb27b530835626 100755 (executable)
@@ -23,7 +23,7 @@ regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
 regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
 regexp {Maximal deflection +([-0-9.+eE]+)} $tri_info full defl
 
-if { [string compare $tcl_platform(os) "Windows"] == 0 }  {
+if { [string compare $tcl_platform(platform) "windows"] == 0 }  {
    set good_tri  6114
    set good_nod  3080
    set good_defl 0.50050406431775729
index d93edfdef81a941418bb74798359c39f4b08db0c..a1854883552a1e4ba1e7770bdb859e2ba7c20fcf 100755 (executable)
@@ -61,10 +61,8 @@ set result23 [regexp "$Yellow" [vreadpixel $x4 $y4 rgb]]
 set result24 [regexp "$Yellow" [vreadpixel $x5 $y5 rgb]]
 set result25 [regexp "$Yellow" [vreadpixel $x6 $y6 rgb]]
 
-if { [array get env os_type] != "" } {
-    set os $env(os_type)
-}
-if { [string compare $os "windows"] != 0 } {
+set env(os_type) $tcl_platform(platform)
+if { [string compare $env(os_type) "windows"] != 0 } {
   set result31 [regexp "$Cyan" [vreadpixel $x2 $y2 rgb]]
   if { $result31 == 0 } {
     set IsFaulty 1
index c25fc537be4b6bca37a7d9da087f7249ec7fcb84..f007e5ec5f3d7780b0f3b57b47b910205b3efe19 100644 (file)
@@ -18,7 +18,16 @@ vsetdispmode b 1
 
 vdrawtext text "Open\nCASCADE" -pos 0 0 0 -color 1.0 0.0 0.0 -halign center -valign center -angle -45 -zoom 1 -height 50 -aspect regular -font Arial
 
-set bug_info [vreadpixel 259 279 rgb name]
+set env(os_type) $tcl_platform(platform)
+if { [string compare ${env(os_type)} "windows"] != 0 } {
+  set x_coord 259
+  set y_coord 279
+} else {
+  set x_coord 255
+  set y_coord 277
+}
+
+set bug_info [vreadpixel ${x_coord} ${y_coord} rgb name]
 if {$bug_info != "RED"} {
   puts "ERROR: OCC25732 is reproduced. Text is missed."
 }
index 655464dc16c91a00cd6ded02530892ac02cac50a..c6c3421dfd17872c6ab9fe6cf3275f45c29fffee 100755 (executable)
@@ -1,5 +1,3 @@
-set os $env(os_type)
-
 puts "========"
 puts "OCC184"
 puts "========"
index 7e2f4c60191581a2912d146d87c1afc26ef2505d..79508e57ca38fc3525fe1d9757db74bcf613b883 100755 (executable)
@@ -1,9 +1,5 @@
 # Original bug : 23384
 # Date : 16 Aug 2012
-
-if {[array get env os_type] != ""} {
-    set os $env(os_type)
-}
 XOpen [locate_data_file bug23384-doc_subshapes.dxc] doc
 set info1 [XStat doc]
 regexp {level N 0 +: +([-0-9.+eE]+)} $info1 full l0
@@ -46,15 +42,3 @@ if { ${l0} != ${l0_1} ||
      ${nbname} != ${nbname_1} } {
     puts "Error : Document is read/written wrong!"
 }
-
-
-
-
-
-
-
-
-
-
-
-
index 055bd9fa0ba9409205aaea756bf74ee4cbbadb14..bb6bf3ab27fd57818b5f3891b843e7bb1c02a52f 100755 (executable)
@@ -1,5 +1,3 @@
-set os $env(os_type)
-
 puts "========"
 puts "OCC314"
 puts "========"
index 29d99e492d1d88f3a4159ff51c2d097ef4b3b079..d5a561346216189fbe095dfd905acd8e08a5e37c 100755 (executable)
@@ -1,5 +1,3 @@
-set os $env(os_type)
-
 puts "========"
 puts "OCC321"
 puts "========"
index 64bb4a9779104b010f352329492a3cc4c91c56a9..de7ed67d6924049ef2f9983b01286797641ac373 100644 (file)
@@ -4,10 +4,6 @@ set chamf_dist_angle [list "0.08   30" "0.06   30" "0.1   30"]
 set chamf_dist_dist  [list "0.05 0.05" "0.05 0.09" "0.1 0.08"]
 set chamf_equal_dist [list "0.05     " "0.05     " "0.2     "]
 if { [string compare $command chamf_sequence] == 0 && [string compare $group equal_dist] == 0 } {
-  set os "ALL"
-  if {[array get env os_type] != ""} {
-    set os $env(os_type)
-  }
   puts "TODO OCC22909 ALL:Faulty shapes in variables faulty_1 to faulty_"
   puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
 }
index ff81c005767627212c33d2a3d4f41cc7838f09cd..fb3b83ded772ae4a35045dd3fc790656f6c99e29 100644 (file)
@@ -8,10 +8,6 @@ if { [string compare $command chamf] == 0 } {
     puts "TODO OCC22909 All:chamfer is not done. compute of chamfer failed"
   }
 } else {
-  set os "ALL"
-  if {[array get env os_type] != ""} {
-    set os $env(os_type)
-  }
   if {[string compare $group dist_angle] == 0} {
     puts "TODO OCC22909 MacOS: chamfer is not done. compute of chamfer failed"
   }
index f4f9530756bcb09e12f6f1a8a4aa988b41f3e7ae..75bfaee80c855fc76f8f37b448600b8392cce591 100644 (file)
@@ -8,10 +8,6 @@ if { [string compare $command chamf] == 0 } {
     puts "TODO OCC22909 All:chamfer is not done. compute of chamfer failed"
   }
 } else {
-  set os "ALL"
-  if {[array get env os_type] != ""} {
-    set os $env(os_type)
-  }
   if {[string compare $group dist_angle] == 0} {
     puts "TODO OCC22909 All:Faulty shapes in variables faulty_1 to faulty_"
     puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
index cea26e25a4c37f7106f499952117824ef1b5692b..415dd61335a93cbc00802e18ec05542fa4044437 100644 (file)
@@ -6,10 +6,6 @@ set chamf_equal_dist [list "0.1     " " 0.2     "]
 if { [string compare $command chamf] == 0 } {
   puts "TODO OCC22909 All:chamfer is not done. compute of chamfer failed"
 } else {
-  set os "ALL"
-  if {[array get env os_type] != ""} {
-    set os $env(os_type)
-  }
   if {[string compare $group dist_angle] == 0} {
     puts "TODO OCC22909 MacOS: chamfer is not done. compute of chamfer failed"
   } else {
index 46607d54740f0fcbbdda4d56e7ea6c760ab44d00..3ce8ce73f5f3cab3499a7cb223d30780df8c4cbf 100644 (file)
@@ -7,30 +7,24 @@ dset SCALE 100
 if { [string compare $command chamf_sequence] == 0 } {
   puts "TODO #22909 ALL: Error: The tests should be reviewed"
   puts "Error: The tests should be reviewed."
-  set os "ALL"
-  if {[array get env os_type] != ""} {
-    set os $env(os_type)
-  }
+  set env(os_type) $tcl_platform(platform)
   
-  if { [string compare ${os} "Windows-64-VC9"] != 0 && [string compare ${os} "Windows-64-VC10"] != 0} {
-    set nf 0
-    if {[string compare $os "Debian70-64"] == 0 } {
-      if { [string compare $group dist_dist] == 0 } {
-        set nf 2
-      } elseif { [string compare $group equal_dist] == 0 } {
-        set nf 4
-      }
+  set nf 0
+  if { [string compare ${env(os_type)} "windows"] != 0 } {
+    if { [string compare $group dist_dist] == 0 } {
+      set nf 2
+    } elseif { [string compare $group equal_dist] == 0 } {
+      set nf 4
     }
   }
   
-  if { [string compare ${os} "windows"] == 0} {
+  if { [string compare ${env(os_type)} "windows"] == 0} {
     if {[string compare $group dist_dist] == 0 || [string compare $group equal_dist] == 0 } {
       set nf 2
     }
   }
 
-  if { [string compare ${os} "MacOS"] == 0 } {
-    set nf 0
+  if { [string compare ${env(os_type)} "MacOS"] == 0 } {
     if { [string compare $group dist_dist] == 0 } {
       puts "TODO OCC24156 MacOS: chamfer is not done. compute of chamfer failed"
       set nf 8
@@ -45,7 +39,7 @@ if { [string compare $command chamf_sequence] == 0 } {
   }  
 
   if { $nf != 0 } {
-     #puts "TODO OCC22909 $os:Faulty shapes in variables faulty_1 to faulty_$nf"
+     #puts "TODO OCC22909 $env(os_type):Faulty shapes in variables faulty_1 to faulty_$nf"
      puts "TODO OCC22909 ALL:Faulty shapes in variables faulty_1 to faulty_"
   }
 }
index 39ba6d70b2475a9550c75525deb0d758f6e2f6d1..874b06f7c3cffcf46783ef25e31706a04554b5d4 100644 (file)
@@ -1,6 +1,6 @@
 # !!!! This file is generated automatically, do not edit manually! See end script
 puts "TODO CR23096 ALL: NBSHAPES : Faulty" 
-puts "TODO CR23096 Debian70-64: Error : 2 differences with reference data found :" 
+puts "TODO CR23096 Linux: Error : 2 differences with reference data found :" 
 
 set LinuxDiff 2
 set filename trj12_b3-sy-214.stp
index 143151b8a2169756c011a66fcc94eb169bd64caf..49cd13ac9bd2267b36406a412f6e6b7a46f6152d 100755 (executable)
@@ -1,11 +1,8 @@
 # test for command getsource
 
 # check that path returned for command pload is as expected
-if { [array get env os_type] != "" } {
-    set os $env(os_type)
-}
-puts $os
-if { [string compare $os "windows"] == 0 } {
+set env(os_type) $tcl_platform(platform)
+if { [string compare $env(os_type) "windows"] == 0 } {
     set expected src/Draw/Draw_PloadCommands.cxx
 } else {
     set expected /src/Draw/Draw_PloadCommands.cxx
index 84383feefd6e62fc6ea290ad6a9331c7c498b49c..0c568533d915ff3d404d51f5e4ebbc8094d3bd52 100644 (file)
@@ -1,6 +1,6 @@
 #F6----------------------------------------------
-puts "TODO OCC22803 Debian70-64: Error in depouille"
-puts "TODO OCC22803 Debian70-64: Error : The skin cannot be built."
+puts "TODO OCC22803 Linux: Error in depouille"
+puts "TODO OCC22803 Linux: Error : The skin cannot be built."
 puts "TODO OCC22803 Windows: Faulty shapes in variables faulty_1 to faulty_"
 polyline p 0 0 3  0 0 0  10 0 0  10 0 3  
 beziercurve bc 4 10 0 3  7 0 2  3 0 3  0 0 3
index 5c041b642c6f23347b5827dea99596696701e5e6..d9d52c5314431da62370c86747e324af8b0ee72a 100644 (file)
@@ -2,7 +2,7 @@
 # Date : 02 Dec 98
 
 puts "TODO OCC22803 All: Error: The tolerance of the resulting shape is too big"
-#puts "TODO OCC23511 Debian70-64: The area of the resulting shape is 186543"
+#puts "TODO OCC23511 Linux: The area of the resulting shape is 186543"
 
 restore [locate_data_file CFE903_pro12ggx.rle] base
 
index 7f10a85ead40d33fa6b10e3d0491668346f314bd..3cd112080eba3ac899a2d08165409065420f6e10 100644 (file)
@@ -1,15 +1,5 @@
 if {[string compare $command "SplitAngle"] == 0 } {
-    set os "ALL"
-    if {[array get env os_type] != ""} {
-       set os $env(os_type)
-    }
-    if {
-           [string compare $os "Debian40"] != 0
-       &&  [string compare $os "Mandriva2008"] != 0
-       &&  [string compare $os "Mandriva2010"] != 0
-       } {
   puts "TODO OCC23245 ALL: Faulty shapes in variables faulty_1 to faulty_"
-    }
 }
 
 restore [locate_data_file GOUVERGUI.brep] a
index 04624e74e257dda8a3a4f89eff86fbb9c8dba4fc..5aacd574558d5e33ac1f8138e7b8f97a1624fee2 100644 (file)
@@ -1,8 +1,4 @@
 if {[string compare $command "SplitAngle"] == 0 } {
-    set os "ALL"
-    if {[array get env os_type] != ""} {
-       set os $env(os_type)
-    }
   puts "TODO OCC23127 ALL: Faulty shapes in variables faulty_1 to faulty_"
 }
 
index d382115be17f2921dfc0fa5cdc5a9f04287bb395..3923b81d7740819b9a5aee0f8b17668eb69ca8bf 100644 (file)
@@ -1,15 +1 @@
-if {[string compare $command "SplitAngle"] == 0 } {
-    set os "ALL"
-    if {[array get env os_type] != ""} {
-       set os $env(os_type)
-    }
-    if {
-           [string compare $os "Debian40"] == 0
-       ||  [string compare $os "Mandriva2008"] == 0
-       ||  [string compare $os "Mandriva2010"] == 0
-       } {
-    }
-}
-
 restore [locate_data_file cd.brep] a
-
index 948a8bbabcbe7116d4ed738e69b01bbfd29cffdd..aa071aaaca94cdea4774008a195be3ab3d5a93ce 100644 (file)
@@ -1,15 +1,2 @@
-if {[string compare $command "SplitAngle"] == 0 } {
-    set os "ALL"
-    if {[array get env os_type] != ""} {
-       set os $env(os_type)
-    }
-    if {
-           [string compare $os "Debian40"] == 0
-       ||  [string compare $os "Mandriva2008"] == 0
-       ||  [string compare $os "Mandriva2010"] == 0
-       } {
-    }
-}
-
 restore [locate_data_file cg.brep] a
 
index c76c1289edf9560636508ec5f8e0a709759058bb..5d66d3bbcf79f118993d0ba90c6e4fcb27106bd0 100755 (executable)
@@ -1,43 +1,14 @@
 set TheFileName shading_055.brep
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
+set env(os_type) $tcl_platform(os)
 if { [string compare $command "shading"] == 0 } {
    set nb 62
-   if {[string compare $os "Mandriva2008"] == 0} {
-      set nb 64
-   }
-   if {[string compare $os "Mandriva2010"] == 0} {
-      set nb 64
-   }
-   if {[string compare $os "Debian40"] == 0} {
-      set nb 72
-   }
 }
 if { [string compare $command "incmesh"] == 0 } {
    set nb 60
-   if {[string compare $os "Mandriva2008"] == 0} {
-      set nb 64
-   }
-   if {[string compare $os "Mandriva2010"] == 0} {
-      set nb 64
-   }
-   if {[string compare $os "Debian40"] == 0} {
-      set nb 72
-   }
 }
 if { [string compare $command "mesh"] == 0 } {
    set nb 36
-   if {[string compare $os "Mandriva2008"] == 0} {
-      set nb {40|56}
-   }
-   if {[string compare $os "Mandriva2010"] == 0} {
-      set nb 56
-   }
-   if {[string compare $os "Debian40"] == 0} {
-      set nb {51|61}
-   }
 }
+
 set bug_cross "OCC22687"
-set nbcross($os) $nb
+set nbcross($env(os_type)) $nb
index cc72be0b463fb9a0f83e37b519acb699cdcb965f..cf1d2f615ed4ad15c0d7dd5cb22f8235db829594 100755 (executable)
@@ -4,43 +4,20 @@ set rel_tol 10.7
 set bug_withouttri "OCC22687"
 set bug_freelinks "OCC22687"
 set bug_freenodes "OCC22687"
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
+
 if { [string compare $command "shading"] == 0 } {
-###   set nbt 14
-   set nbt 9
-   set nbn 83
-   if {
-          [string compare $os "Mandriva2008"] == 0
-       || [string compare $os "Debian70-64"] == 0
-      } {
-###      set nbl 19
-###      set nbfree($os) $nbl
-##    else
-##      set nbl 17
-   }
-set nbwithouttri($os) $nbt
-set nbfreenodes($os) $nbn
+##set nbt 14
+  set nbt 9
+  set nbn 83
+  set nbwithouttri($env(os_type)) $nbt
+  set nbfreenodes($env(os_type)) $nbn
 } else {
-   if {
-          [string compare $os "Mandriva2010"] == 0
-      } {
-      set nbt 14
-      set nbn 83
-      set nbl 19
-      set nbwithouttri($os) $nbt
-      set nbfree($os) $nbl
-      set nbfreenodes($os) $nbn
-   } else {
-      set bug_withouttri "OCC23105"
-###      set nbt 14
-      set nbt 8
-      set nbn 60
-      set nbl 3
-      set nbwithouttri($os) $nbt
-      set nbfree($os) $nbl
-      set nbfreenodes($os) $nbn
-   }
+  set bug_withouttri "OCC23105"
+##set nbt 14
+  set nbt 8
+  set nbn 60
+  set nbl 3
+  set nbwithouttri($env(os_type)) $nbt
+  set nbfree($env(os_type)) $nbl
+  set nbfreenodes($env(os_type)) $nbn
 }
index 5cfbcf24ed1a154e7a054387a00636245b8e191f..0cb15f3435ba13907f2f0f78951dfe7aa6f21f32 100755 (executable)
@@ -11,26 +11,9 @@ if { [string compare $command "shading"] == 0 } {
   set rel_tol 1.3
   set nbwithouttri(ALL) 6
   set nbfreenodes(ALL) 1
-###  set bug_freelinks "OCC22687"
-###  set nbfree(ALL) 2
+##set bug_freelinks "OCC22687"
+##set nbfree(ALL) 2
 } else {
   set nbfreenodes(ALL) 2
   set nbwithouttri(ALL) 5
 }
-###if { [string compare $command "mesh"] == 0 } {
-###  set os "ALL"
-###  if {[array get env os_type] != ""} {
-###    set os $env(os_type)
-###  }
-###  set bug_freelinks "OCC22687"
-###  if {[string compare $os "Mandriva2008"] == 0 || [string compare $os "MacOS"] == 0 || [string compare $os "Mandriva2010"] == 0 || [string compare $os "Debian40"] == 0 || [string compare $os "Debian70-64"] == 0 || [string compare $os "windows"] == 0} {
-###    set nb 4
-###  } else {
-###    set nb 6
-###  }
-###  set nbfree($os) $nb
-###}
-###if { [string compare $command "shading"] == 0 } {
-###  set bug_freelinks "OCC22687"
-###  set nbfree(ALL) 2
-###}
index b9ed015721ed3d3560f3fb3f34469936a92e9bb0..ee661224d6a93d8f26a6d6b79b800626ac55fe0d 100644 (file)
@@ -29,10 +29,6 @@ if { [string compare $command "shading"] == 0 } {
 }
 
 if { [string compare $command "incmesh"] == 0 } {
-    set os "ALL"
-    if {[array get env os_type] != ""} {
-       set os $env(os_type)
-    }
     if { [string compare $parallel "-parallel"] != 0 || [info exists count_parallel] == 0 } {
        set count_parallel 1
     }
index e28b25f469919b05e238b4097ccbfeb8aedbdab2..13358e67c677885d685503115d55a627461e8cd8 100644 (file)
@@ -1,19 +1,6 @@
 puts "TODO OCC23068 ALL: Error : big tolerance of shape result"
 puts "TODO OCC23068 ALL: Faulty shapes in variables faulty_1 to faulty_2"
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
-
-if {
-        [string compare $os "Debian40"] != 0
-    &&  [string compare $os "Mandriva2010"] != 0
-    &&  [string compare $os "Mandriva2008"] != 0
-   } {
-  puts "TODO OCC23068 $os: Error : The resulting shape is WRONG"
-}
-
-
+puts "TODO OCC23068 ALL: Error : The resulting shape is WRONG"
 
 restore [locate_data_file offset_wire_041.brep] s
 
index f7745dbcb92d4cc0c216993cedf474a5491c999b..92e092a803a94d5e817670d09143a57bf587ebf5 100644 (file)
@@ -1,7 +1,7 @@
 puts "TODO OCC23748 ALL: Error : The offset cannot be built."
 puts "TODO OCC23748 Windows: Error: Offset is not done."
-puts "TODO OCC23748 Debian70-64: An exception was caught"
-puts "TODO OCC23748 Debian70-64: \\*\\* Exception \\*\\*"
+puts "TODO OCC23748 Linux: An exception was caught"
+puts "TODO OCC23748 Linux: \\*\\* Exception \\*\\*"
 
 restore [locate_data_file offset_wire_092.brep] s
 
index 5dcb2ad46dd3a10f16021b6f2c7c6ce78f0c4a59..f91c587055779180b6b83f1c9db95655c24d1f23 100644 (file)
@@ -1,19 +1,4 @@
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
-
-if {
-        [string compare $os "Windows-64-VC8"] == 0
-    ||  [string compare $os "Windows-64-VC9"] == 0
-    ||  [string compare $os "Windows-64-VC10"] == 0
-   } {
-  puts "TODO OCC23068 $os: Error : Result shape is WRONG"
-} 
-
-if { [string compare $os "MacOS"] == 0 } {
-    puts "TODO OCC24156 MacOS: Error : The resulting shape is WRONG"
-}
+puts "TODO OCC24156 MacOS: Error : The resulting shape is WRONG"
 
 restore [locate_data_file offset_wire_103.brep] s
 
index f7745dbcb92d4cc0c216993cedf474a5491c999b..92e092a803a94d5e817670d09143a57bf587ebf5 100644 (file)
@@ -1,7 +1,7 @@
 puts "TODO OCC23748 ALL: Error : The offset cannot be built."
 puts "TODO OCC23748 Windows: Error: Offset is not done."
-puts "TODO OCC23748 Debian70-64: An exception was caught"
-puts "TODO OCC23748 Debian70-64: \\*\\* Exception \\*\\*"
+puts "TODO OCC23748 Linux: An exception was caught"
+puts "TODO OCC23748 Linux: \\*\\* Exception \\*\\*"
 
 restore [locate_data_file offset_wire_092.brep] s
 
index 0724aa208ab048ea213f0dba05d5eab071beb37f..37f5dfcd257004cdfd75b4a86a7abe29c78a34e4 100644 (file)
@@ -1,18 +1,4 @@
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
-
-if {
-        [string compare $os "Windows-64-VC8"] == 0
-    ||  [string compare $os "Windows-64-VC9"] == 0
-    ||  [string compare $os "Windows-64-VC10"] == 0
-   } {
-  puts "TODO OCC23068 $os: Error : Result shape is WRONG"
-}
-if { [string compare $os "MacOS"] == 0 } {
-    puts "TODO OCC24156 MacOS: Error : The resulting shape is WRONG"
-}
+puts "TODO OCC24156 MacOS: Error : The resulting shape is WRONG"
 
 restore [locate_data_file offset_wire_103.brep] s
 
index f7745dbcb92d4cc0c216993cedf474a5491c999b..92e092a803a94d5e817670d09143a57bf587ebf5 100644 (file)
@@ -1,7 +1,7 @@
 puts "TODO OCC23748 ALL: Error : The offset cannot be built."
 puts "TODO OCC23748 Windows: Error: Offset is not done."
-puts "TODO OCC23748 Debian70-64: An exception was caught"
-puts "TODO OCC23748 Debian70-64: \\*\\* Exception \\*\\*"
+puts "TODO OCC23748 Linux: An exception was caught"
+puts "TODO OCC23748 Linux: \\*\\* Exception \\*\\*"
 
 restore [locate_data_file offset_wire_092.brep] s
 
index 55ab1b2b8e2b99294efb37ba78e24834f9b65524..dc1b681910bd580ba5dd44ada29afc61f96b3d6c 100644 (file)
@@ -1,19 +1,4 @@
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
-
-if {
-        [string compare $os "Windows-64-VC8"] == 0
-    ||  [string compare $os "Windows-64-VC9"] == 0
-    ||  [string compare $os "Windows-64-VC10"] == 0
-   } {
-  puts "TODO OCC23068 $os: Error : Result shape is WRONG"
-} 
-
-if { [string compare $os "MacOS"] == 0 } {
-    puts "TODO OCC24156 MacOS: Error : The resulting shape is WRONG"
-}
+puts "TODO OCC24156 MacOS: Error : The resulting shape is WRONG"
 
 restore [locate_data_file offset_wire_103.brep] s
 
index 433e9bfb689363faac313ac6cc021fb84144a8f0..1e74ae2abe4d3144b121a1b188932f15deb873b9 100644 (file)
@@ -1,15 +1,4 @@
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
-
-if {
-        [string compare $os "Mandriva2010"] != 0
-    &&  [string compare $os "Debian40"    ] != 0
-    &&  [string compare $os "Mandriva2008"] != 0
-   } {
-  puts "TODO OCC23068 $os: Faulty shapes in variables faulty_1 to faulty_2"
-}
+puts "TODO OCC23068 ALL: Faulty shapes in variables faulty_1 to faulty_2"
 
 restore [locate_data_file offset_wire_037.brep] s
 
index c91ddb5f30950a77454f850f342aaf5d5fd24e41..1d8031ec5a24ad62ac3c1b525c56c7ba0e1339e0 100644 (file)
@@ -3,18 +3,7 @@
 #puts "TODO OCC24255 ALL: An exception was caught" 
 puts "TODO OCC24255 ALL: Error: Offset is not done."
 puts "TODO OCC24255 ALL: Error : The offset cannot be built."
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
-
-#if {
-#        [string compare $os "Mandriva2010"   ] != 0
-#    &&  [string compare $os "Debian40"       ] != 0
-#    &&  [string compare $os "Mandriva2008"   ] != 0
-#   } {
-#  puts "TODO OCC23068 $os: Error : The resulting shape is WRONG"
-#}
+#puts "TODO OCC23068 ALL: Error : The resulting shape is WRONG"
 
 restore [locate_data_file offset_wire_041.brep] s
 
index f7745dbcb92d4cc0c216993cedf474a5491c999b..92e092a803a94d5e817670d09143a57bf587ebf5 100644 (file)
@@ -1,7 +1,7 @@
 puts "TODO OCC23748 ALL: Error : The offset cannot be built."
 puts "TODO OCC23748 Windows: Error: Offset is not done."
-puts "TODO OCC23748 Debian70-64: An exception was caught"
-puts "TODO OCC23748 Debian70-64: \\*\\* Exception \\*\\*"
+puts "TODO OCC23748 Linux: An exception was caught"
+puts "TODO OCC23748 Linux: \\*\\* Exception \\*\\*"
 
 restore [locate_data_file offset_wire_092.brep] s
 
index 9a57e513f7e4bd1b733475d5c2e579a48fb3e64f..757301b54f23c22bae95cc5232b9ea0fe0ceaefa 100644 (file)
@@ -1,16 +1,6 @@
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
-  
-if {
-         [string compare $os "Mandriva2010"   ] != 0
-      &&  [string compare $os "Debian40"       ] != 0
-      &&  [string compare $os "Mandriva2008"   ] != 0
-   } {
-  puts "TODO OCC23068 $os: Faulty shapes in variables faulty_1 to faulty_2"
-  puts "TODO OCC23068 $os: Error : The resulting shape is WRONG"
-}
+puts "TODO OCC23068 ALL: Faulty shapes in variables faulty_1 to faulty_2"
+puts "TODO OCC23068 ALL: Error : The resulting shape is WRONG"
+
 restore [locate_data_file offset_wire_037.brep] s
 
 set length 1105.94
index f7745dbcb92d4cc0c216993cedf474a5491c999b..92e092a803a94d5e817670d09143a57bf587ebf5 100644 (file)
@@ -1,7 +1,7 @@
 puts "TODO OCC23748 ALL: Error : The offset cannot be built."
 puts "TODO OCC23748 Windows: Error: Offset is not done."
-puts "TODO OCC23748 Debian70-64: An exception was caught"
-puts "TODO OCC23748 Debian70-64: \\*\\* Exception \\*\\*"
+puts "TODO OCC23748 Linux: An exception was caught"
+puts "TODO OCC23748 Linux: \\*\\* Exception \\*\\*"
 
 restore [locate_data_file offset_wire_092.brep] s
 
index 62cfe1d4b417c55b812c23c5393d5fe75b928337..ecd4f3e0c63b535668abbbfd8a5e850c2686db39 100644 (file)
@@ -1,16 +1,6 @@
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
+puts "TODO OCC23068 ALL: Faulty shapes in variables faulty_1 to faulty_2"
+puts "TODO OCC23068 ALL: Error : The resulting shape is WRONG"
 
-if {
-        [string compare $os "Mandriva2010"] != 0
-    &&  [string compare $os "Debian40"    ] != 0
-    &&  [string compare $os "Mandriva2008"] != 0
-   } {
-  puts "TODO OCC23068 $os: Faulty shapes in variables faulty_1 to faulty_2"
-  puts "TODO OCC23068 $os: Error : The resulting shape is WRONG"
-}
 restore [locate_data_file offset_wire_037.brep] s
 
 set length 1406.21
index f7745dbcb92d4cc0c216993cedf474a5491c999b..92e092a803a94d5e817670d09143a57bf587ebf5 100644 (file)
@@ -1,7 +1,7 @@
 puts "TODO OCC23748 ALL: Error : The offset cannot be built."
 puts "TODO OCC23748 Windows: Error: Offset is not done."
-puts "TODO OCC23748 Debian70-64: An exception was caught"
-puts "TODO OCC23748 Debian70-64: \\*\\* Exception \\*\\*"
+puts "TODO OCC23748 Linux: An exception was caught"
+puts "TODO OCC23748 Linux: \\*\\* Exception \\*\\*"
 
 restore [locate_data_file offset_wire_092.brep] s
 
index 255cbd29b406a89c59651f9ba4d71cb79fddbc68..a543e03b7aa7f34f58778d93771b3c335ab75e31 100644 (file)
@@ -1,13 +1,3 @@
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
-
-if {
-        [string compare $os "Windows-32-VC8"] == 0
-   } {
-}
-
 restore [locate_data_file offset_wire_098.brep] s
 
 set length 332.67
index 93baafb81d4e8a930ac39ef1aefc7889166f1cc8..6b3e7626d27fb79463def3c1ac34002788b839bb 100644 (file)
@@ -1,15 +1,4 @@
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
-
-if {
-        [string compare $os "Mandriva2010"] != 0
-    &&  [string compare $os "Debian40"    ] != 0
-    &&  [string compare $os "Mandriva2008"] != 0
-   } {
-  puts "TODO OCC23068 $os: Error : The resulting shape is WRONG"
-}
+puts "TODO OCC23068 ALL: Error : The resulting shape is WRONG"
 
 restore [locate_data_file offset_wire_001.brep] s
 set length 8.78837
index 1b114602afed2cb8b85c175f1e6c235f4474e740..8118c5aec9fc441e4b0bf808a81071cbb84b1d39 100644 (file)
@@ -1,16 +1,5 @@
 puts "TODO OCC23068 ALL: Faulty shapes in variables faulty_1 to faulty_2"
-set os "ALL"
-if {[array get env os_type] != ""} {
-  set os $env(os_type)
-}
-
-if {
-        [string compare $os "Mandriva2010"] != 0
-    &&  [string compare $os "Debian40"    ] != 0
-    &&  [string compare $os "Mandriva2008"] != 0
-   } {
-  puts "TODO OCC23068 $os: Error : big tolerance of shape result"
-}
+puts "TODO OCC23068 ALL: Error : big tolerance of shape result"
 
 restore [locate_data_file offset_wire_070.brep] s
 
index f5cc9f73cc988b02bb30409443ee2f38076258d8..840942ae81d68561fbd1f50d3a5e3f059f61f3f9 100755 (executable)
@@ -22,12 +22,8 @@ if { [info exists test_image ] == 0 } {
 
 set WorkDirectory $imagedir
 
-set os "ALL"
-if {[array get env os_type] != ""} {
-    set os $env(os_type)
-}
-
-if { [regexp "indows" $os] } {
+set env(os_type) $tcl_platform(platform)
+if { [regexp "indows" $env(os_type)] } {
     if {[regexp -nocase {jdk} $env(PATH)] || [regexp -nocase {java} $env(PATH)]} {
        set Java "java"
     } else {