1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0028938: Tests - remove useless file artifacts of test cases perf/de/bug26338

This commit is contained in:
kgv 2017-07-22 14:21:39 +03:00 committed by bugmaster
parent d483647d5d
commit 6a2ed6e82b
2 changed files with 13 additions and 1 deletions

View File

@ -12,3 +12,9 @@ trinfo result
chrono s restart
writestl result $imagedir/${casename}-binary.stl 1
chrono s stop counter writestl
set aFileSize [file size $imagedir/${casename}-binary.stl]
if {$aFileSize < 100000000} {
puts "Error: unexpected file size"
} else {
file delete -force $imagedir/${casename}-binary.stl
}

View File

@ -11,4 +11,10 @@ trinfo result
# write to ascii STL
dchrono s restart
writestl result $imagedir/${casename}-ascii.stl 0
dchrono s stop counter writestl
dchrono s stop counter writestl
set aFileSize [file size $imagedir/${casename}-ascii.stl]
if {$aFileSize < 490000000} {
puts "Error: unexpected file size"
} else {
file delete -force $imagedir/${casename}-ascii.stl
}