test/testutils.h


Log

Author Commit Date CI Message
Sam Lantinga ac4f5dca 2023-07-12T09:53:52 Relicensed testutils to match other test code Permission granted in https://github.com/libsdl-org/SDL/commit/76a7b629bfc4869df7659c2f2e47d9253c73696f#commitcomment-121408342 (cherry picked from commit 6c2472d459602eb3c3ee109d6e8f255336109673) (cherry picked from commit a4ad293d4a184057c6dc370538ddd808ca9b0c90)
Sam Lantinga 0479df53 2023-01-09T09:48:21 Updated copyright for 2023
Simon McVittie 76a7b629 2022-04-12T13:07:18 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>