Java unitsync tester V2

Java unitsync tester V2

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Java unitsync tester V2

Post by AF »

Windows Users

If you have had unsatisfied link errors or unexplained unitsync issues with AFLobby, please extract this into your spring folder and run the tests and report back as soon as possible

Version 2 adds a new set of tests using the JNA library rather than the standard JNI APIs. JNA is designed to call the functions in unitsync directly without the need for a set of bindings.


Linux Users

You're guaranteed to fail all the tests involving VS2005 unitsync. And tbh most unitsync issues under linux aren't related to the problems this tool tests for.

However, I would very much like to see how JNA fairs under linux.


Download here
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

tested on ubuntu 7.04 + spring 0.75b2:
test 1-4: failed
test 5+6: passed

edit: same result with svn revision 4410 of spring
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

hmmm, the tests for VS2005 shouldnt work under linux.

Unless ubuntu can laod windows dll's.....

Only tests 1,3 and 5 could possibly work under linux as I understand it.
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Post by koshi »

AF wrote: Unless ubuntu can laod windows dll's.....
I thought that is what JNA is for...

Why could the mingw32 test be passed? Am I missing something? Isn't it used to build windows binaries/dlls under linux? What is your program actually testing for?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

to be specific I put mingw32 there because thats what unitsync is built with in windows (or cross compiled in linux for windows)

The point of JNA is to let java call library functions without having to write wrapper functions or bindings.
Lippy
Posts: 327
Joined: 16 Jul 2006, 00:24

Post by Lippy »

Ubuntu 7.04, 75b2 : 5+6 pass

No time to test with SVN..
Post Reply

Return to “Engine”