Simon McVittie
76a7b629bf
test: Add some common code to load test resources
...
As well as reducing duplication, this lets the tests load their resources
from the SDL_GetBasePath() on platforms that support it, which is useful
if the tests are compiled along with the rest of SDL and installed below
/usr as manual tests, similar to GNOME's installed-tests convention.
Thanks to Ozkan Sezer for the OS/2 build glue.
Co-authored-by: Ozkan Sezer <sezeroz@gmail.com>
Signed-off-by: Simon McVittie <smcv@collabora.com>
2022-05-04 18:17:55 -07:00
Ozkan Sezer
836a4ec7b1
updates to os/2 build
2022-01-08 22:35:02 +03:00
Ozkan Sezer
93cab32db3
minor update to test/Makefile.os2
2022-01-08 14:40:20 +03:00
Ozkan Sezer
e688a95ba4
updated os2 makefile for tests
2021-11-12 23:55:40 +03:00
Ozkan Sezer
e55b850703
minor tidy-up in os2 makefile for tests.
2021-09-20 23:50:02 +03:00
Cameron Cawley
830206581b
Add testmouse
2021-09-09 13:46:58 -07:00
Sylvain
bc2173baf9
Add testgeometry to draw a non uniform triangle
...
--use-texture: an option to load icon.bmp as a texture
handle mouse motion: rotate the triangle
2021-08-19 00:10:59 +02:00
Ozkan Sezer
37b093eaf2
test/checkkeysthreads: build fixes, and add to os2 makefile.
2021-06-05 00:05:56 +03:00
Ozkan Sezer
090fffac6a
test/Makefile.os2: add warning switches to CFLAGS.
2020-12-24 00:29:40 +03:00
Ozkan Sezer
537f824f38
test/Makefile.os2: wlib must run case-sensitively.
2020-12-21 20:40:10 +03:00
Ozkan Sezer
d27238751f
os2: integrate the port into main tree.
2020-10-14 23:01:06 +03:00
Ozkan Sezer
10eb5108b6
test/Makefile.os2: add testlocale.exe to build.
2020-10-11 20:00:20 +03:00
Ozkan Sezer
32bb8b4b40
test: replace some exit()s with returns.
2019-09-10 10:03:20 +03:00
Ozkan Sezer
14e389eadc
minor update to Makefile.os2, added a test/Makefile.os2.
2018-11-20 10:55:00 +03:00