Added llvm.core.load_library_permanently() (Issue #12).

git-svn-id: http://llvm-py.googlecode.com/svn/trunk@46 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
mdevan.foobar 2008-11-14 18:38:19 +00:00
commit b0a11dbbbc
6 changed files with 77 additions and 0 deletions

View file

@ -29,10 +29,23 @@ def do_ownable():
pass
def do_misc():
print " Testing miscellaneous functions"
try:
load_library_permanently("/usr/lib/libm.so")
except LLVMException:
pass
try:
load_library_permanently("no*such*so")
except LLVMException:
pass
def do_llvm():
print " Testing module llvm"
do_llvmexception()
do_ownable()
do_misc()
def do_module():