aboutsummaryrefslogtreecommitdiff
path: root/test cases
AgeCommit message (Collapse)AuthorFilesLines
2020-02-28Remove exact version constraint from dub failing-meson testsJon Turney3-3/+3
These are always failing just because the exact version constraint isn't satisfied, e.g. "ERROR: Meson version is 0.53.999 but project requires 0.48.0"
2020-02-28Remove invalid escape char failing testJon Turney1-4/+0
This test was never testing what it claimed to test, simply failing with 'ERROR: First statement must be a call to project' because it's missing project(). Since #5279, all unrecognized escape sequences are literal, so I don't think there's anything to test here.
2020-02-28Fix invalid and non-existent manfile extension testsJon Turney2-0/+0
Currently they are just failing trying to install a non-existent file.
2020-02-28Update test case to use run_target(command:)Jon Turney1-1/+1
Currently this test is just failing due to an unexpected positional argument, as the (deprecated) keywordless run_target() was removed in 0.45.0
2020-02-27compilers/mixins/emscripten: Implement thread supportDylan Baker3-0/+44
Emscripten has pthread support (as well as C++ threads), but we don't currently implement them. This fixes that by adding the necessary code. The one thing I'm not sure about is setting the pool size. The docs suggest that you really want to do this to ensure that your code works correctly, but the number should really be configurable, not sure how to set that. Fixes #6684
2020-02-27tests/wasm: Add C language as well as C++ language to testDylan Baker2-1/+9
2020-02-27Fix 'linuxlike/14 static dynamic linkage' test on CygwinJon Turney1-1/+1
Update the expected output from nm to match changes in binutils 2.34.
2020-02-26test: replace pass_* functions with a test.json entryDaniel Mensinger4-2/+10
2020-02-26summary: Add list_sep keyword argumentXavier Claessens1-0/+1
This allows having lists on a single line instead of having each value aligned on a new line.
2020-02-25test: merge installed_files.txt into test.jsonDaniel Mensinger141-837/+1117
2020-02-25test: realise test_args.txt with a test matrixDaniel Mensinger4-8/+18
2020-02-25test: merge test_matrix.json and setup_env.json into test.jsonDaniel Mensinger6-31/+37
2020-02-23Merge pull request #6637 from ↵Jussi Pakkanen1-1/+1
mesonbuild/nirbheek/implement-symbolextractor-windows Implement symbolextractor on windows + some cleanups/fixes
2020-02-23Merge pull request #6602 from mensinda/depBoostJussi Pakkanen4-26/+37
boost: System dependency rewrite
2020-02-23Merge pull request #6635 from mensinda/cmOTMFixJussi Pakkanen8-6/+58
cmake: Fix dependency loops in custom targets (fixes #6632)
2020-02-22tests: Ensure that executable and library are named differentlyNirbheek Chauhan1-1/+1
On Windows, the basename is used to determine the name of the PDB file. So for a project called myproject, we will create myproject.dll and myproject.exe, both of which will have myproject.pdb. This is a file collision. Instead, append `_test`, similar to the C# template. Fixes AllPlatformTest.test_templates on MSVC. This became a hard error when we started listing PDBs in the implicit outputs list of ninja targets. Do the same for a test that was making the same mistake.
2020-02-20Introduce dataonly for the pkgconfig moduleRohan Garg2-0/+8
This allows users to disable writing out the inbuilt variables to the pkg-config file as they might actualy not be required. One reason to have this is for architecture-independent pkg-config files in projects which also have architecture-dependent outputs. For example : https://gitlab.freedesktop.org/wayland/weston/issues/269 Fixes #4011
2020-02-20boost: Updated testsDaniel Mensinger4-26/+37
2020-02-20cmake: Fix relative paths for add_custom_{command,target}Daniel Mensinger4-2/+15
Do this by tracking CMAKE_CURRENT_{SOURCE,BINARY}_DIR variables. This is achieved by injecting CMake code with CMAKE_PROJECT_INCLUDE and overriding some builtin functions with a wrapper that adds additional trace information.
2020-02-19cmake: Ignore files that violate subproject isolation (fixes #6640)Daniel Mensinger6-0/+66
2020-02-19cmake: traceparser better handle listsDaniel Mensinger1-2/+2
2020-02-19cmake: Fix dependency loops in custom targets (fixes #6632)Daniel Mensinger6-3/+42
2020-02-19modules/cmake: Add a found() method to the cmake subprojectDylan Baker2-1/+3
Just like the native meson subproject has.
2020-02-13Remove unused no-installed-files test featureJon Turney1-0/+0
Looking at 45c8557d, the idea behind this seems to be that a test could conditionally indicate that the list of installed files should not be validated by creating that file. It's no longer used anywhere. Also remove a lingering no-install-files file which isn't used since commit c693bd9b.
2020-02-12Add a test of new warning of omitted native: keywordJon Turney1-0/+2
2020-02-12Add test of target source without languageJon Turney2-0/+5
Add a test that trying to use a compiler in a target for a language which hasn't been mentioned in project() or add_languages() gives an error.
2020-02-12Add a test that using an unavailable native compiler errorsJon Turney2-0/+15
Add a test that trying to use a native compiler in a target after it's been tentatively added with add_languages() without native: but isn't actually available gives an error.
2020-02-11tests: Make the cups test more robustDaniel Mensinger1-5/+5
2020-02-11configure_file: Also copy timestamps to avoid useless rebuildsNirbheek Chauhan1-3/+9
If we always copy files over without timestamps, we're forcing a (probably unnecessary) rebuild. Also include a test for this.
2020-02-10test cases/python3/3 cython: fix dependency filesGerion Entrup1-0/+1
The Cython generation depends on cstorer.pxd as well, so add that as dependency.
2020-02-09Add add_languages(native:)Jon Turney1-0/+3
v2: Retain not using logical-and, to avoid short-circuiting side-effects of add_languages()
2020-02-07Merge pull request #6421 from dcbaker/zlib-system-depJussi Pakkanen1-0/+23
Add a "system" dependency for zlib
2020-02-06Make 'default_library' per-subproject builtin optionXavier Claessens6-0/+39
Currently it's just like if all builtin/base/compiler options are yielding. This patch makes possible to have non-yielding builtin options. The value in is overriden in this order: - Value from parent project - Value from subproject's default_options if set - Value from subproject() default_options if set - Value from command line if set
2020-02-06add fs.stem()Michael Hirsch, Ph.D1-0/+4
2020-02-06fs: add expanduser methodMichael Hirsch, Ph.D1-2/+6
this should help users specify leading `~` in various Meson options and variables without refactoring lots of places inside Meson itself.
2020-02-06fs: add methods as_posix, is_absoluteMichael Hirsch, Ph.D1-0/+22
fs: make exception specify method name fs: actually raise exceptions fs: resolve path e.g. /opt/foo/.. => /opt/foo fs: correct behavior of is_symlink
2020-02-05ci: properly handle cross/native casesMichael Hirsch, Ph.D2-2/+6
2020-02-05add get_external_property to replace get_cross_propertyMichael Hirsch, Ph.D6-15/+35
2020-02-05add native-file properties testsMichael Hirsch, Ph.D4-7/+19
2020-02-05Merge pull request #6582 from mensinda/cmQuotesJussi Pakkanen5-5/+36
cmake: Fix spaces in compile flags (fixes #6566)
2020-02-05pkgconfig: Generate -uninstalled.pc filesXavier Claessens3-1/+9
Closes: #3472.
2020-02-05Test using a File as an argument to run_command.Jussi Pakkanen1-0/+6
2020-02-05cmake: Added test case for #6566Daniel Mensinger5-5/+36
2020-02-04interpreter: Iterate custom target outputsXavier Claessens1-1/+12
2020-02-04cmake: Sanitize CMake names (fixes #6554)Daniel Mensinger3-12/+13
2020-02-01summary: Fix empty list caseXavier Claessens1-0/+1
Fixes: #6557.
2020-01-31tests: Add a test case for the zlib system dependencyDylan Baker1-0/+23
2020-01-30Bugfix: sanitize_dir: use pathlib to handle case-insensitive filesystems (#6398)Michael Hirsch, Ph.D2-0/+7
2020-01-29Bump Java version in test program.Jussi Pakkanen1-2/+2
2020-01-29dependencies: Use DependencyFactory for cupsDylan Baker1-0/+1