Added test for %import
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5540 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
3bd96d5bc6
commit
272c42913e
2 changed files with 10 additions and 0 deletions
|
|
@ -21,3 +21,12 @@ pass
|
|||
if error == 1:
|
||||
raise RuntimeError
|
||||
|
||||
# Check the import in subdirectory worked
|
||||
if inctest.importtest1(5) != 15:
|
||||
print "import test 1 failed"
|
||||
raise RuntimeError
|
||||
|
||||
if inctest.importtest2("black") != "white":
|
||||
print "import test 2 failed"
|
||||
raise RuntimeError
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue