Three new broken test cases created to test various patches in the patch list.
Bugs 909389, 962115, and 899332. These bugs all have fixes in the patch system. Patches 903150, 914926, and 962168. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6110 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2f18b2a9dc
commit
0fb8c59673
6 changed files with 102 additions and 0 deletions
12
Examples/test-suite/python/return_const_value_runme.py
Normal file
12
Examples/test-suite/python/return_const_value_runme.py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import return_const_value
|
||||
import sys
|
||||
|
||||
p = return_const_value.FooPtr.getPtr()
|
||||
if (p.getVal() != 17):
|
||||
print "Runtime test1 faild. p.getVal()=", p.getVal()
|
||||
sys.exit(1)
|
||||
|
||||
p = return_const_value.FooPtr.getConstPtr()
|
||||
if (p.getVal() != 17):
|
||||
print "Runtime test2 faild. p.getVal()=", p.getVal()
|
||||
sys.exit(1)
|
||||
Loading…
Add table
Add a link
Reference in a new issue