0028673: getsourcefile Draw command return different output on Linux and Windows...
[occt.git] / tests / demo / draw / getsource
CommitLineData
d33dea30
PK
1# test for command getsource
2
3# check that path returned for command pload is as expected
36cc2619 4set expected src/Draw/Draw_PloadCommands.cxx
d33dea30
PK
5set path [lindex [getsourcefile pload] 1]
6if { [string compare $path $expected] } {
7 puts "Error: command 'getsourcefile pload' returned '$path' while expected '$expected'"
8}
9
10puts "TEST COMPLETED"