[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gzz-commits] gzz ./TODO ./Makefile gfx/jni/GzzGL-jni.cxx gzz...
From: |
Benja Fallenstein |
Subject: |
Re: [Gzz-commits] gzz ./TODO ./Makefile gfx/jni/GzzGL-jni.cxx gzz... |
Date: |
Wed, 09 Oct 2002 10:02:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020913 Debian/1.1-1 |
Hi Asko,
sorry, but this doesn't work. You first load the module:
Asko Soukka wrote:
tests = {}
exec compiledTestFile in globals(), tests
*then* test whether it requires JNI:
+ try:
+ if tests.keys().index('requiresJNI') >= 0:
+ if enableJNI == false:
+ print file + " skipped: JNI required."
+ return
+ except ValueError:
+ pass
Loading the module imports the JNI class-- and that raises
UnsatisfiedLinkError.
Remember to 'make clean; make' when testing this! :)
- Benja