0023273: Avoid failures due to datadir commend when data files are not present
[occt.git] / tests / draft / begin
index 3f41f0a..9e4e9da 100755 (executable)
@@ -7,10 +7,6 @@ if { [array get Draw_Groups "TOPOLOGY Check commands"] == "" } {
 # to prevent loops limit to 10 minutes
 cpulimit 600
 
-if { [string compare [datadir] "."] == 0 } {
-   datadir [file dirname [info script]]/data
-}
-
 if { [info exists imagedir] == 0 } {
    set imagedir .
 }