summaryrefslogtreecommitdiff
path: root/run_project_tests.py
Commit message (Collapse)AuthorAgeFilesLines
...
* compilers/clike: ICL needs msvc workarounds in has_functionDylan Baker2019-05-131-1/+1
|
* Better detection of tab indentation.Jussi Pakkanen2019-05-091-2/+3
| | | | | "But surely nobody would indent by having spaces first, and tabs after that. Right? Right?"
* Merge pull request #5311 from mensinda/flake8PluginsJussi Pakkanen2019-05-021-2/+2
|\ | | | | Added flake8 plugins and some code fixes
| * Fix unused variables warningsDaniel Mensinger2019-04-291-1/+1
| |
| * Fix blind exceptionsDaniel Mensinger2019-04-291-1/+1
| |
* | per-target manual specification of link_languageMichael Hirsch, Ph.D2019-05-021-0/+4
|/
* Don't always skip objc/objc++ tests on WindowsJon Turney2019-04-151-2/+2
| | | | These tests can run under MSYS2 using gcc or clang objc/objc++.
* Report detected compilers in run_project_testsJon Turney2019-04-151-5/+18
| | | | | v2: Use compilers.all_languages for the list of known languages
* d: Fix linker errors with shared libraries on WindowsAri Vuollet2019-04-031-1/+1
|
* Always initialize compiler_options before sanity_checkJohn Ericson2019-03-271-0/+2
| | | | This is because sanity checking wants to use CFLAGS and friends.
* Merge pull request #5031 from bonzini/kconfigJussi Pakkanen2019-03-201-0/+1
|\ | | | | Kconfig Module
| * [modules] Add kconfig moduleMark Schulte2019-03-151-0/+1
| | | | | | | | | | Add a kconfig module to allow meson to integrate with existing projects that use kconfig.
* | interpreterbase: protect string division with FeatureNewPaolo Bonzini2019-03-181-1/+7
|/ | | | | | | | Meson is not warning if you join paths with / but you are requesting a version older than 0.49.0; fix this before adding more features to the division operator. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* tests: disable Dlang tests on windowsDylan Baker2019-03-131-1/+1
| | | | | | These don't work and no one has fixed them. When I've tried to download dmd for windows I can't get a valid installer from their website. Let's at least turn the CI green.
* add NetCDFMichael Hirsch, Ph.D2019-02-281-0/+4
|
* Disable D tests if dmd install is broken.Jussi Pakkanen2019-02-261-0/+8
|
* run_project_tests: add support for loading cross filesDylan Baker2019-02-041-0/+3
|
* run_project_tests: Add support for loading a native file in testsDylan Baker2019-02-041-0/+3
| | | | The file must be called nativefile.txt
* project tests: qt is available on the macOS CINirbheek Chauhan2019-02-011-0/+4
|
* More tests and pic.Jussi Pakkanen2019-01-211-0/+1
|
* tests: Add tests for the python moduleDylan Baker2018-12-121-0/+1
| | | | | | This doesn't touch everything as it's just based on the python3 module tests, ported to the python module. It's still better than the one very basic test in the unit test module.
* Deal with clang-cl generating empty implibsJon Turney2018-11-061-12/+17
| | | | | | Deal with clang-cl doing the sane (but different to MSVC) thing, of generating an empty import library, rather than silently ignoring /IMPLIB when there are no exports.
* Extend test to when both name_{suf,pre}fix: are usedJon Turney2018-11-061-0/+3
|
* Add a test of installed library names when name_{suf,pre}fix: is usedJon Turney2018-11-061-1/+34
| | | | | | | | Extend platform_fix_name() to handle this case We avoid using library(version:), so we don't have to teach platform_fix_name() all the platform details of versioned shared library naming. Hopefully that's exercised by platform-specific tests...
* Use compiler detector in detect_system_compiler()Jon Turney2018-11-041-11/+15
| | | | | | | | | Use the compiler detector in detect_system_compiler(), rather than trying to guess based on what it is the PATH (which could utterly fail e.g when CC env var is set) Note that this detection is only used by platform_fix_name() to interpret installed_files.txt
* Merge pull request #4340 from jon-turney/azure-pipelinesJussi Pakkanen2018-10-141-1/+1
|\ | | | | Add Azure pipelines CI
| * Use 'CI' environment variable to detect CI environmentJon Turney2018-10-141-1/+1
| | | | | | | | | | Use the 'CI' environment variable to detect CI environment, rather than a collection of CI-specific ones.
* | tests: Merge backend guessing into one functionNiklas Claesson2018-10-101-20/+2
| |
* | Add option to fail fast in testsNiklas Claesson2018-10-101-6/+19
|/
* Use a single ArgumentParser for all subcommandsXavier Claessens2018-10-041-2/+2
| | | | | | This has the adventage that "meson --help" shows a list of all commands, making them discoverable. This also reduce the manual parsing of arguments to the strict minimum needed for backward compatibility.
* Skip all dot files/directories when running testsGuillermo Ignacio Enriquez Gutierrez2018-09-251-1/+1
|
* Fix test script to be able to run in local macosGuillermo Ignacio Enriquez Gutierrez2018-09-221-0/+1
|
* run_proect_tests: add cygwin as platform fix nameMarco Trevisan (Treviño)2018-09-141-1/+6
|
* run_project_tests: remove pdb workaround, just use filtersMarco Trevisan (Treviño)2018-09-141-9/+2
| | | | And ignore .dll.a files in non cygwin gcc instances
* run_projects_tests: Fail if we install extra files even if not in clMarco Trevisan (Treviño)2018-09-121-2/+3
| | | | | | | | | | As per commit 2340fd3, unexpected installed files are not reported anymore when using compilers other than 'cl', this regression was introduced in the attempt of not reporting extra .pdb files, but actually caused any non extra .pdb file in other compilers to be ignored. Fix boolean test, by reporting any extra file a part '.pdb' ones under non 'cl' compiler, while anyone under 'cl'.
* Do not scan test logs. Closes #4046.Jussi Pakkanen2018-08-191-1/+2
|
* Scan markdown files for tabs.Jussi Pakkanen2018-08-191-0/+1
|
* Condense test dirs.Jussi Pakkanen2018-08-191-1/+1
|
* Kill tabs dead! For good!Jussi Pakkanen2018-08-151-3/+25
|
* Condense test dirs.Jussi Pakkanen2018-07-311-3/+3
|
* Write full directory name in files so script will change them.Jussi Pakkanen2018-07-311-2/+2
|
* Remove had_argument_for() it is not used anymoreXavier Claessens2018-06-061-2/+2
| | | | | This also means we don't need to keep original command line arguments anymore.
* Add test case for 'install_mode'Filipe Brandenburger2018-06-021-0/+2
| | | | | | | | | This is a simple test case, checking for installed_files.txt, which just makes sure the syntax is accepted. Manual tests confirmed the permissions were set correctly. A follow up commit adds a unit test based on this directory.
* Set the meson command to use when we know what it isNirbheek Chauhan2018-06-011-13/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of using fragile guessing to figure out how to invoke meson, set the value when meson is run. Also rework how we pass of meson_script_launcher to regenchecker.py -- it wasn't even being used With this change, we only need to guess the meson path when running the tests, and in that case: 1. If MESON_EXE is set in the env, we know how to run meson for project tests. 2. MESON_EXE is not set, which means we run the configure in-process for project tests and need to guess what meson to run, so either - meson.py is found next to run_tests.py, or - meson, meson.py, or meson.exe is in PATH Otherwise, you can invoke meson in the following ways: 1. meson is installed, and mesonbuild is available in PYTHONPATH: - meson, meson.py, meson.exe from PATH - python3 -m mesonbuild.mesonmain - python3 /path/to/meson.py - meson is a shell wrapper to meson.real 2. meson is not installed, and is run from git: - Absolute path to meson.py - Relative path to meson.py - Symlink to meson.py All these are tested in test_meson_commands.py, except meson.exe since that involves building the meson msi and installing it.
* configure_file: Add output_format kwarg (#3636)Mathieu Duponchelle2018-06-011-0/+1
| | | | | | * configure_file: Add output_format kwarg * docs: Reference-manual.md output_format was added in 0.47 [skip ci]
* Revert "mesonlib: handle meson exe wrappers"Nirbheek Chauhan2018-05-311-4/+9
| | | | | | | | This reverts commit 0627e9d616dc311b7c9b0ef17301f680ac9e78a7. Breaks installation: https://github.com/mesonbuild/meson/issues/3647 Will be restored once that can be fixed.
* mesonlib: handle meson exe wrappersMartin Kelly2018-05-301-9/+4
| | | | | | | | | | | | | | | | | | | | There are cases when it is useful to wrap the main meson executable with a script that sets up environment variables, passes --cross-file, etc. For example, in a Yocto SDK, we need to point to the right meson.cross so that everything "just works", and we need to alter CC, CXX, etc. In such cases, it can happen that the "meson" found in the path is actually a wrapper script that invokes the real meson, which may be in another location (e.g. "meson.real" or similar). Currently, in such a situation, meson gets confused because it tries to invoke itself using the "meson" executable (which points to the wrapper script) instead of the actual meson (which may be called "meson.real" or similar). In fact, the wrapper script is not necessarily even Python, so the whole thing fails. Fix this by using Python imports to directly find mesonmain.py instead of trying to detect it heuristically. In addition to fixing the wrapper issue, this should make the detection logic much more robust.
* Enable running tests that fail at 'meson test'Niklas Claesson2018-05-231-1/+1
|
* Prettifying some output with pathlibNiklas Claesson2018-04-261-22/+29
|
* Final encoding fix.Jussi Pakkanen2018-04-231-1/+4
| | | | | | I sincerely hope sufficient amounts of goats have now been sacrificed at the altar of Debian Locales so things will actually work and I can get to sleep.