mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-11 09:32:38 +08:00
The method Draw_Interpretor::add() has been corrected so that the command getsourcefile returned the relative path starting with "src" without leading "/" on all platforms.
11 lines
336 B
Plaintext
Executable File
11 lines
336 B
Plaintext
Executable File
# test for command getsource
|
|
|
|
# check that path returned for command pload is as expected
|
|
set expected src/Draw/Draw_PloadCommands.cxx
|
|
set path [lindex [getsourcefile pload] 1]
|
|
if { [string compare $path $expected] } {
|
|
puts "Error: command 'getsourcefile pload' returned '$path' while expected '$expected'"
|
|
}
|
|
|
|
puts "TEST COMPLETED"
|