0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / xml / begin
index f5cc9f7..8395623 100755 (executable)
@@ -1,5 +1,4 @@
-pload TOPTEST
-pload DCAF
+pload TOPTEST DCAF
 
 cpulimit 300
 
@@ -22,16 +21,11 @@ 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] } {
+if { [checkplatform -windows] } {
     if {[regexp -nocase {jdk} $env(PATH)] || [regexp -nocase {java} $env(PATH)]} {
-       set Java "java"
+        set Java "java"
     } else {
-       puts "Warning: environment variable PATH doesn't contain path to Java"
+        puts "Warning: environment variable PATH doesn't contain path to Java"
     }
 } else {
     catch {set Java $env(JAVAHOME)/bin/java}