mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-06 18:26:22 +03:00
Fix for #23273 issue. Fix for #23273 issue (boolean/013/R9). Modifications of tests according to #23260 issue. Attempt to protect against hang-ups due to waiting for standard input change of behaviour of offset/shape_type_i/D7 case. Attempt to protect against hang-ups during initialization of menu in batch mode. increase cpulimit for parallel incmesh. #23260 is fixed. count_parallel is not needed anymore. Deleted unused code. change of behaviour of offset/shape_type_i/D7 case. The fix was incorrect. Second attempt to protect against hang-ups during initialization of menu in batch mode correction of tests in order to awoid instability. Elapsed time changed to CPU user time is performance tests. Processing of errors on Windows. Stop cpulimit killer if armed by test, after the test is completed
44 lines
985 B
Plaintext
Executable File
44 lines
985 B
Plaintext
Executable File
#INTERFACE CAF
|
|
# Tree construction attributes
|
|
#
|
|
# Testing attribute: TDataStd_Directory
|
|
#
|
|
# Testing command: NewDirectory
|
|
#
|
|
|
|
puts "caf005-B3"
|
|
|
|
# Add an attribute to a data framework
|
|
set aLabel1 0:2
|
|
NewDirectory D ${aLabel1}
|
|
set aName1 Label1
|
|
SetName D ${aLabel1} ${aName1}
|
|
|
|
# Close/Open the transaction
|
|
NewCommand D
|
|
|
|
# Save the document
|
|
set aFile ${imagedir}/caf001-B3.std
|
|
file delete ${aFile}
|
|
SaveAs D ${aFile}
|
|
if { ![file exists ${aFile}] } {
|
|
puts "There is not ${aFile} file; SaveAs command: Error"
|
|
return
|
|
}
|
|
#catch {exec chmod 777 ${aFile}}
|
|
|
|
# Restore the document
|
|
Close D
|
|
Open ${aFile} DD
|
|
|
|
# Get a value of the attribute
|
|
set IsDone [catch {set aGetName1 [GetName DD ${aLabel1}]} aResult]
|
|
if { ${IsDone} != 0 ||
|
|
${aName1}!=${aGetName1} } {
|
|
puts "aName1=${aName1} aGetName1=${aGetName1}"
|
|
puts ${aResult}
|
|
puts "Get a value of TDataStd_Directory attribute from restoring document: Error"
|
|
return
|
|
}
|
|
puts "Get a value of TDataStd_Directory attribute from restoring document: OK"
|