summaryrefslogtreecommitdiff
path: root/test cases/frameworks/2 gtest
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.
2021-07-13Add expected skip annotations for non-linux CI runs to framework testsJon Turney
2020-05-04Add native support for gtest testsDylan Baker
Gtest can output junit results with a command line switch. We can parse this to get more detailed results than the returncode, and put those in our own Junit output. We basically just throw away the top level 'testsuites' object, then fixup the names of the tests, and shove that into our junit.
2019-12-09cmake: add project language to cmakelists.txtMichael Hirsch, Ph.D
cmake: get language from Meson project if not specified as depedency(..., langugage: ...) deps: add threads method:cmake dependency('threads', method: 'cmake') is useful for cmake unit tests or those who just want to find threads using cmake. cmake: project(... Fortran) generally also requires C language
2019-05-02tests: Extend tests that use Threads internally to set methodDylan Baker
It turns out there's a bug in creating a sub dependency out of threads in that we pass all of the kwargs from the parent to the ThreadDependency instance. This demonstrates the bug.
2018-01-06tests: skip gtest test if gtest not installedDylan Baker
2015-06-14Can use both main and nomain gtest in same project. Fixes #149.Jussi Pakkanen
2014-06-22Renamed deps -> dependencies.Jussi Pakkanen
2013-06-17Improvements to GTest and GMock.Jussi Pakkanen
2013-06-02C++ is now called cpp rather than cxx.Jussi Pakkanen
2013-06-02Renamed find_dep to dependency.Jussi Pakkanen
2013-06-02Renamed add_test to test.Jussi Pakkanen
2013-06-01The default value of required is true for dependencies.Jussi Pakkanen
2013-03-24Gtest now works, though still a bit hackish.Jussi Pakkanen