aboutsummaryrefslogtreecommitdiff
path: root/unittests/machinefiletests.py
AgeCommit message (Collapse)AuthorFilesLines
2024-09-11Fix typosspaette1-5/+5
2024-07-30unittests: fix EncodingWarnings. minus 123 warnings collected by pytestEli Schwartz1-1/+1
2024-06-04Extract native file parser to machinefile source file.Jussi Pakkanen1-1/+1
2024-06-02Start moving machine files to their own store.Jussi Pakkanen1-1/+12
2023-12-17Skip pkg-config-dependent tests if it's missingAlyssa Ross1-3/+6
2023-12-13Use SPDX-License-Identifier consistentlyDylan Baker1-12/+1
This replaces all of the Apache blurbs at the start of each file with an `# SPDX-License-Identifier: Apache-2.0` string. It also fixes existing uses to be consistent in capitalization, and to be placed above any copyright notices. This removes nearly 3000 lines of boilerplate from the project (only python files), which no developer cares to look at. SPDX is in common use, particularly in the Linux kernel, and is the recommended format for Meson's own `project(license: )` field
2023-10-27Condense test directories for RC1.Jussi Pakkanen1-1/+1
2023-07-13Silence some encoding warningsTristan Partin1-2/+2
By specifiying explicit encodings, we can silence warnings like: /__w/meson/meson/test cases/common/100 postconf with args/postconf.py:15: EncodingWarning: 'encoding' argument not specified with open(input_file) as f: in CI.
2023-06-27modules/rust: Add a machine file property for extra clang args with bindgenDylan Baker1-4/+29
It's currently impossible to inject extra clang arguments when using bindgen, which is problematic when cross compiling since you may need critical arguments like `--target=...`. Because such arguments must be passed after the `--` it's impossible to inject them currently without going to something like a wrapper script. Fixes: #11805
2023-04-11fix various spelling issuesJosh Soref1-1/+1
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-04-11Change "can not" to "cannot" throughout projectHiPhish1-1/+1
The word "cannot" expresses inability to do something whereas "can not" expresses the ability to refrain from doing something.
2023-03-28Condense test directories for rc1.Jussi Pakkanen1-1/+1
2022-12-14depfixer: silence fix_jar() and make it do somethingBenjamin Gilbert1-0/+18
fix_jar() tries to remove an existing Class-Path entry from the jar manifest by postprocessing the manifest and passing it to `jar -um`. However, `jar -um` can only add/replace manifest entries, not remove them, and it also complains loudly when replacing an entry: Dec 13, 2022 7:11:19 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Manifest-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Thus fix_jar() produces one such warning for each entry in the manifest and accomplishes nothing else. Use jar -uM instead. This completely removes the manifest from the jar and allows adding it back as a normal zip member, fixing fix_jar() and avoiding the warnings. Fixes: https://github.com/mesonbuild/meson/issues/10491 Fixes: c70a051e93 ("java: remove manifest classpath from installed jar")
2022-03-29Condense test directory names.Jussi Pakkanen1-11/+11
2021-08-15editorconfig: add setting to trim trailing whitespaceEli Schwartz1-1/+0
and clean up all outstanding issues Skip 'test cases/common/141 special characters/meson.build' since it intentionally uses trailing newlines.
2021-07-26Split run_unittests.py fileXavier Claessens1-0/+936