add 'funcptr, inctest, integers, preproc, name' testcases and fix the empty testcase

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11566 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Baozeng Ding 2009-08-14 09:22:36 +00:00
commit 0623fdff8b
7 changed files with 78 additions and 10 deletions

View file

@ -0,0 +1,19 @@
exec loader.sce;
try
a = new_A();
catch
printf("did not find A\ntherefore, I did not include ""testdir/subdir1/hello.i""\n");
end
try
b = new_B();
catch
printf("did not find B\ntherefore, I did not include ""testdir/subdir2/hello.i""\n");
end
if importtest1(5) <> 15 then pause, end
if importtest2("black") <> "white" then pause, end
exit