Fix test issues
capehill opened this issue · comments
capehill commented
- testiconv crashes in memcmp: FIXED by using SDL's iconv
- testdyngl, testgl fail (no OpenGL): FIXED by defining HAVE_OPENGL in test code
- testjoystick reports unfreed signals: FIXED by calling SDL_Quit() at the end
- testlock may crash on with parameter 0 and when interrupted by CTRL-C. Semaphore/thread implementation behaves so that all waits can be breaked and this may cause chaotic end results when threads start to exit. fix-testsem branch has some additional debug and also WaitThread behaviour has been modified. Possibly thread implementation could be simplified more but using IExec features, like interruptible semaphores. Needs more study.