You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Paul Sokolovsky 85d809d1f4 tests: Convert remaining "sys.exit()" to "raise SystemExit". 8 years ago
..
README tests/jni: Start adding modjni tests. 9 years ago
list.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 8 years ago
list.py.exp tests/jni: Add test for working with container of List interface. 9 years ago
object.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 8 years ago
object.py.exp tests/jni: Test for basic object operations. 9 years ago
system_out.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 8 years ago
system_out.py.exp tests/jni: Start adding modjni tests. 9 years ago

README

Running "jni" module tests (as well as just using this module) requires
being able to load libjvm.so, which requires path to it set via
LD_LIBRARY_PATH environment variable. This path is not set automatically
and there is no easy way to guess it, because there can be installed
different implementations of JVM, for one implementation, there can be
different versions, and single version may include different variants
of JVM.

For example, for OpenJDK 7 on x86_64, following may work:

LD_LIBRARY_PATH=/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64/server ./run-tests jni/*.py