summaryrefslogtreecommitdiff
path: root/test cases/frameworks/1 boost
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-11fix various spelling issuesJosh Soref
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2021-08-31pylint: turn on superflous-parensDylan Baker
We have a lot of these. Some of them are harmless, if unidiomatic, such as `if (condition)`, others are potentially dangerous `assert(...)`, as `assert(condtion)` works as expected, but `assert(condition, message)` will result in an assertion that never triggers, as what you're actually asserting is `bool(tuple[2])`, which will always be true.
2021-08-18Test boost-python on macOSKevin Meagher
Previously the meson test case would only test boost-python on linux. With the #7909 it is now possible to use boost-python on macOS/homebrew. This enables the boost-python test on both linux and macOS. It also uses python.extension_module() instead of shared_library to make the python extension module.
2021-08-15editorconfig: add setting to trim trailing whitespaceEli Schwartz
and clean up all outstanding issues Skip 'test cases/common/141 special characters/meson.build' since it intentionally uses trailing newlines.
2021-07-13Add expected skip annotations for non-linux CI runs to framework testsJon Turney
2021-06-24Fix test.json for boost test to match schemaJon Turney
I guess the intent was that tests of thread/debug library variants only get run with MSVC, but currently this test isn't getting run at all in our Windows CI (since boost got removed from the VM image [1], and we didn't notice, more on which anon). [1] https://github.com/actions/virtual-environments/pull/2843
2020-09-27Fixes meson test timeout on windowsYonggang Luo
``` 2020-09-23T01:25:14.7849070Z 2020-09-23T01:25:14.7849592Z 1/5 Boost linktest TIMEOUT 30.16s 2020-09-23T01:25:14.7849811Z 2020-09-23T01:25:14.7850027Z --- command --- 2020-09-23T01:25:14.7850281Z 01:24:30 D:\a\1\s\b 125f976e40\linkedexe.exe 2020-09-23T01:25:14.7850561Z ------- 2020-09-23T01:25:14.7850693Z 2020-09-23T01:25:14.7850947Z 2/5 Boost UTF test TIMEOUT 31.15s 2020-09-23T01:25:14.7851141Z 2020-09-23T01:25:14.7851347Z --- command --- 2020-09-23T01:25:14.7851580Z 01:24:30 D:\a\1\s\b 125f976e40\utf.exe 2020-09-23T01:25:14.7851862Z --- stdout --- 2020-09-23T01:25:14.7852065Z Running 1 test case... 2020-09-23T01:25:14.7852441Z ``` Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
2020-08-04tests: Disable Boost extralib test on macOSSimon McVittie
Since upgrading Boost to version 1.73, this test segfaults on macOS when dynamically linked. Disable it to keep the rest of the CI reliable. Mitigates: #7535 Signed-off-by: Simon McVittie <smcv@debian.org>
2020-05-01boost: Only use usage-requirements defines (fixes #7046)Daniel Mensinger
2020-04-02boost: make python2 optionalDaniel Mensinger
2020-04-01boost: Fix boost_python detection on bionic (fixes #6886 #4788)Daniel Mensinger
2020-03-28boost: Better python module detectionDaniel Mensinger
2020-02-25test: merge test_matrix.json and setup_env.json into test.jsonDaniel Mensinger
2020-02-20boost: Updated testsDaniel Mensinger
2020-01-24ci: Fix boost test on xenialDaniel Mensinger
2020-01-24tests: Fix some test failures on Ubuntun 16.04 CINirbheek Chauhan
* xenial doesn't ship many dependencies, so make them all optional since we don't guarantee that everything will work * cmake/{5,6}: needs stdlib.h for EXIT_SUCCESS on GCC 5 * common/222: needs C++11, and GCC 5 doesn't understand `auto` correctly unless we explicitly enable it. * frameworks/1 boost: xenial doesn't ship boost_python3, so make it properly optional * frameworks/6 gettext: gettext can be installed without xgettext, which doesn't cause the project to fail, but the installed files list is different which causes the test to fail. * frameworks/7 gnome: gobject-introspection can't be enabled because the sanitizer unit test detects leaks in glib and fails
2019-12-18python: add embed to the python dependency functionDaniel Mensinger
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-11-18Use strict function prototypesMichael Hirsch, Ph.D
2019-07-11Adapting Boost Python library detection to Boost >= 1.67. Closes #4288.gjaeger1
2018-10-27add -permissive to the boost testNicole Mazzuca
2018-08-26Tests for version constraints on custom lookup dependenciesJon Turney
2018-04-17Add partial_dependency method to dependenciesDylan Baker
This adds a new method, partial_dependency to all dependencies. These sub dependencies are copies of the original dependency, but with one or more of the attributes replaced with an empty list. This allows creating a sub dependency that has only cflags or drops link_arguments, for example.
2018-02-21Skip test cases/frameworks/1 boost if boost not foundJon Turney
2018-02-05Fix boost test on cygwinJon Turney
With the headers from cygwin-devel-2.10.0-1, getpagesize() is not prototyped unless an appropriate feature test macro is defined. Future work: investigate if this needs to be defined by BoostDependency.get_compile_args() or in Boost.
2018-01-04CI: Run boost test for CygwinJon Turney
Also, use '^' to escape newlines in appveyor-install.bat to avoid an absurdly long line, remove some unnecessary quotation, and alphabetically sort packages Also, define the _XOPEN_SOURCE feature test macro in the boost test to avoid 'not declared in this scope' warnings for pthread_rwlock_init(), etc.
2017-12-25boost: Allow older behavior with a warningNiklas Claesson
Fixes #2813
2017-10-01Boost: Improve search algorithmNiklas Claesson
The new implementation will correctly pick boost from 3 possible locations on windows and two locations on posix compatible OSs. The new search algorithm also differentiates between debug and release builds of Boost and multi or single threading builds. It was also decided to map "Meson modules" to Boost software libraries and not Boost modules since it there are a lot of options regarding linking. Some modules can even be used either as headers-only or with dynamic linking. This commit also fixes a bug that prevented header-only use on Windows. Fixes: #2274 #2239 #1803 #669
2017-08-20Find Boost dep when there is an extra lib to linkMichał Wikliński
There are several components in Boost which must be linked with extra libraries. Boost Log is one of them and in special circumstances needs linking with boost_log_setup. http://www.boost.org/doc/libs/1_64_0/libs/log/doc/html/log/detailed/utilities.html#log.detailed.utilities.setup This fix covers the case when there is no source file corresponding to the additional library.
2017-05-29De-uniquefy.Jussi Pakkanen
2017-05-25add static Boost dependency testAdam C. Foltzer
2016-01-02By default do not specify language version but instead use the compiler's ↵Jussi Pakkanen
default.
2015-11-25Added script to run benchmarks.Jussi Pakkanen
2015-10-05Added option for VS exception type.Jussi Pakkanen
2015-10-04Can set compiler options, added language versions for Gnu and Clang.Jussi Pakkanen
2015-09-12Can leave Boost modules empty to only use the plain header libraries. Closes ↵Jussi Pakkanen
#263.
2015-09-06Made boost on windows kinda work.Jussi Pakkanen
2015-01-30Add thread flags to compilers and use them on dependencies that require ↵Jussi Pakkanen
threads. Fixes #31.
2015-01-24Made Boost unit testing framework work and added a test.Jussi Pakkanen
2014-06-22Renamed deps -> dependencies.Jussi Pakkanen
2014-02-22Newest Boost requires C++11 to build.Jussi Pakkanen
2013-08-11Search for Boost libs in all lib dirs.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-04-01Can have multiple different configurations of the same dependency.Jussi Pakkanen
2013-03-24Added custom detector framework and a Boost detector to it.Jussi Pakkanen
2013-03-24Added test case for Boost.Jussi Pakkanen