summaryrefslogtreecommitdiff
path: root/test cases/frameworks/16 sdl2
AgeCommit message (Collapse)Author
2024-03-17tests: rename skip_on_jobname to expect_skip_on_jobname and skip_on_os to ↵Christoph Reiter
expect_skip_on_os The test.json format currently has three keys related to skipping tests: * `skip_on_jobname` * `skip_on_os` * `skip_on_env` While `skip_on_env` marks the test itself as skipped, i.e. they don't get run when the conditions are met, the other two skip options are just marking the test as "expected to be skipped" if the conditions apply, i.e. they want to see `MESON_SKIP_TEST` in the output and things will fail if that doesn't happen. They don't actually skip the tests as the names imply. To make this clearer rename the keys: * `skip_on_jobname` -> `expect_skip_on_jobname` * `skip_on_os` -> `expect_skip_on_os` `skip_on_env` stays the same, since that actually skips. The docs were also confused about this, so adjust that too.
2023-04-24dependencies: allow to fallback on CMake to find the SDL2 libraryMatthieu Bouron
On Windows, the SDL2 library is generally provided with only CMake config files. This commit allows meson to fallback on CMake as a last resort to find the SDL2 library.
2021-07-13Add expected skip annotations for non-linux CI runs to framework testsJon Turney
2021-07-13Fix skip condition in sdl2 test.jsonJon Turney
The build_machine.system() value we should be matching against is 'darwin', not 'macos', so this was expected to skip everywhere. Unfortunately, fixing this reveals that this test skips in our macos CI runs also, (I think) because brew doesn't (normally) provide frameworks, just pkgconfig files. So, also skip this test there, which means it doesn't run anywhere in CI currently.
2021-07-07Annotate framework tests with where they are expected to skipJon Turney
Remove hard-coded framework test skip logic in skippable(), instead annotate test.json with environments in which skip is expected. (Mainly this is done with by testing the value of MESON_CI_JOBNAME now set for linux jobs)
2020-04-17tests: Convert sdl2 to use a matrix optionDylan Baker
2018-09-10Skip some SDL tests when using an OSX framework version.Jussi Pakkanen
2018-08-26Tests for version constraints on custom lookup dependenciesJon Turney
2018-02-21Skip test cases/frameworks/16 sdl2 if sdl2 not foundJon Turney
2017-11-23Use ConfigToolDependency for SDL2Dylan Baker
2017-06-10tests: Make SDL2 compulsory now that it's in the CI imageNirbheek Chauhan
2017-06-09Add a new test for SDL2, which didn't have oneNirbheek Chauhan
Currently optional on all platforms.