capehill / os4sdl

See https://github.com/AmigaPorts/SDL/tree/SDL-1.2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix test issues

capehill opened this issue · comments

  1. testiconv crashes in memcmp: FIXED by using SDL's iconv
  2. testdyngl, testgl fail (no OpenGL): FIXED by defining HAVE_OPENGL in test code
  3. testjoystick reports unfreed signals: FIXED by calling SDL_Quit() at the end
  4. 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.