Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029123Open CASCADE[OCCT] OCCT:Testspublic2017-09-19 10:392020-09-11 17:08
Assigned Tobugmaster 
PlatformWindowsOSVC++ 2010OS Version64 bit
Product Version[OCCT] 7.1.0 
Target Version[OCCT] 7.6.0*Fixed in Version 
Summary0029123: Tests - test and testgrid fail in case if OCCT is installed into location with spaces
DescriptionTrying to launch test with OCCT being installed into path containing spaces results in failure.
Steps To Reproduce- Move OCCT into location with spaces, e.g. "C:/open cascade 7.2.0/"
- Start draw.bat
- Run some test, e.g. "test v3d glsl gouraud_spot1 1"
> wrong # args: should be "_run_test scriptsdir group gridname casefile echo"

- Run testgrid
CASE demo draw binpersist_1: FAILED (no final message is found)
Draw[1]> couldn't read file "C:/workssd/Develop/Projects/occt/amd_occt": no such file or 
TagsNo tags attached.
Test case numberNot needed
Attached Files

- Relationships

-  Notes
apn (administrator)
2019-07-16 22:17

Problem is caused by uplevel _run_test $dir $group $gridname $casefile $echo in proc test.
Uplevel divides dir and casefile variables into many parts using spaces.

uplevel [list _run_test $dir $group $gridname $casefile $echo] - doesn't work (dont know why).

Instead of proc _run_test {scriptsdir group gridname casefile echo} it's possible to use:
_run_test {args} {
    set groupname [lindex $args 0]
    set gridname [lindex $args 1]
    set casefile [lindex $args 2]
    set echo [lindex $args 3]
    set dirname ""
    foreach e1 [lrange $args 4 end] {
        set dirname "$dirname $e1"
Also it's needed to modify casefile (e.g. use casename).
More detailed investigation is needed.

- Issue History
Date Modified Username Field Change
2017-09-19 10:39 kgv New Issue
2017-09-19 10:39 kgv Assigned To => apn
2017-09-19 10:39 kgv Priority normal => low
2017-09-19 10:53 kgv Steps to Reproduce Updated View Revisions
2019-07-16 22:17 apn Note Added: 0085683
2019-07-16 22:17 apn Test case number => Not needed
2019-07-16 22:17 apn Status new => assigned
2019-07-16 22:17 apn Target Version 7.4.0 => 7.5.0
2020-09-11 17:01 utverdov Assigned To apn => inv
2020-09-11 17:05 utverdov Target Version 7.5.0 => 7.6.0*
2020-09-11 17:08 bugmaster Assigned To inv => bugmaster

Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker