incubator-kato-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From spo...@apache.org
Subject svn commit: r888726 - /incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/tests/src/test/java/test/apache/kato/vmapi/TestLibraryLoad.java
Date Wed, 09 Dec 2009 08:14:46 GMT
Author: spoole
Date: Wed Dec  9 08:14:46 2009
New Revision: 888726

URL: http://svn.apache.org/viewvc?rev=888726&view=rev
Log:
updated load library test to pick up windows DLL correctly

Modified:
    incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/tests/src/test/java/test/apache/kato/vmapi/TestLibraryLoad.java

Modified: incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/tests/src/test/java/test/apache/kato/vmapi/TestLibraryLoad.java
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/tests/src/test/java/test/apache/kato/vmapi/TestLibraryLoad.java?rev=888726&r1=888725&r2=888726&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/tests/src/test/java/test/apache/kato/vmapi/TestLibraryLoad.java
(original)
+++ incubator/kato/trunk/org.apache.kato/kato.native/kato.native.vmapi/tests/src/test/java/test/apache/kato/vmapi/TestLibraryLoad.java
Wed Dec  9 08:14:46 2009
@@ -47,7 +47,8 @@
 			// we expect lib or dlls
 			
 			if(name.startsWith("libkatovmapi")) return kid.getAbsolutePath();
-			if(name.equals("katovmapi.dll")) return kid.getAbsolutePath();
+			if(name.startsWith("katovmapi") && name.endsWith(".dll")) return kid.getAbsolutePath();
+			
 		}
 		 throw new RuntimeException("system property libloc location does not hold a file matching
*katovmapi* [libloc="+location+"]");
 		



Mime
View raw message