Daniel Mensinger
9435f11b17
ci: Add CI command to include text files in the CI log
2019-11-19 15:21:13 +01:00
Michael Hirsch, Ph.D
1baa1c9222
use '-Werror=unused-parameter' for gcc/clang on project tests and -fimplicit-none on fortran
...
Fortran: check for undeclared variables by forcing implicit none everywhere
C/C++: check for unused parameters and return types
removed unused variables from test cases
ci: do missing return and unused arg check with Github Actions
2019-11-17 13:24:42 +02:00
Daniel Mensinger
892c8ebe65
run_project_tests: Added print_tool_versions()
2019-10-20 12:04:15 +02:00
Dylan Baker
0c22798b1a
compilers: replace CompilerType with MachineInfo
...
Now that the linkers are split out of the compilers this enum is
only used to know what platform we're compiling for. Which is
what the MachineInfo class is for
2019-10-07 12:08:20 -07:00
Patrick Griffis
1670fca36f
Add blocks dependency
...
This allows easily enabling the blocks clang extension.
2019-09-23 21:10:00 +03:00
Michael Hirsch, Ph.D
3447767cac
PGI: windows PGI is sort of MSVC-like
2019-09-05 11:50:23 -04:00
Dylan Baker
25e32b56fb
tests: add wasm to run_project_tests --only
2019-08-12 10:40:09 -07:00
Jussi Pakkanen
f39600647d
Condense test directory names.
2019-08-03 02:29:44 +03:00
Michael Hirsch, Ph.D
b5e9ab8ed0
fortran tests: non-gfortran compilers on Windows are best static libs
...
collapsed get_relative_files_list_from_dir to a one-liner via pathlib.Path
2019-07-30 03:17:14 -04:00
Michael Hirsch, Ph.D
667cc80f72
run_tests: ifort / intel-cl must have ninja backend
2019-07-30 03:14:25 -04:00
Michael Hirsch, Ph.D
3d18da0de3
actually failfast, was not failing fast before
2019-07-30 03:14:24 -04:00
Daniel Mensinger
3b2126531a
cmake: added test case for environment variables
2019-07-23 05:50:55 +00:00
Michael Hirsch, Ph.D
cb7d236696
pythonic file checks
2019-07-11 22:37:25 +03:00
Jussi Pakkanen
b1fbbde0b0
Use pytest parallelisation if available.
2019-07-09 22:38:30 +03:00
Jussi Pakkanen
4b1ab96795
Add command line argument to skip unit tests.
2019-07-09 22:03:58 +03:00
Michael Hirsch, Ph.D
5b109c9ad2
correct missing argument for IntelClFortranCompiler
...
ifort passes all tests
cleanup logic
2019-06-24 14:06:32 -04:00
Michael Hirsch, Ph.D
40a3a6c3d0
only --only option to run_project_tests, add type hints, improve variable name use
2019-06-23 18:22:43 +03:00
Michael Hirsch, Ph.D
d61116efc1
windows project_test speedup by 2
2019-06-23 17:33:28 +03:00
Jussi Pakkanen
80856884cc
Do not check for DOS line endings in log files.
2019-06-22 22:11:28 +03:00
Jussi Pakkanen
6d6acab6fe
Detect broken Rust compiler setups.
2019-06-22 00:16:20 +03:00
John Ericson
07777e15d4
Purge `is_cross` and friends without changing user interfaces
...
In most cases instead pass `for_machine`, the name of the relevant
machines (what compilers target, what targets run on, etc). This allows
us to use the cross code path in the native case, deduplicating the
code.
As one can see, environment got bigger as more information is kept
structured there, while ninjabackend got a smaller. Overall a few amount
of lines were added, but the hope is what's added is a lot simpler than
what's removed.
2019-06-09 13:13:25 -04:00
John Ericson
32e827dcdc
Use `env.machines.*` to avoid some `is_cross`
...
This is a small example of the `is_cross` removal the that abstraction
enables.
2019-06-09 13:13:20 -04:00
Daniel Mensinger
703054903b
cmake: disable the CMake tests for msvc2015
2019-06-06 18:27:05 +02:00
Daniel Mensinger
493e505d58
cmake: better logging
2019-06-06 18:27:04 +02:00
Daniel Mensinger
cb57847c30
cmake: fixed installed_files.txt
2019-06-06 18:27:03 +02:00
Daniel Mensinger
bf81aac465
cmake: Added project tests
2019-06-06 18:27:02 +02:00
Joel Rosdahl
f13e65b93a
Update to new ccache URL
...
ccache’s web site is now located at https://ccache.dev .
Bonus: Use the preferred capitalization “Ccache” instead of “CCache”.
2019-05-27 01:10:57 +03:00
Dylan Baker
f5ea341319
compilers/clike: ICL needs msvc workarounds in has_function
2019-05-13 11:22:31 -07:00
Jussi Pakkanen
b0f90a793f
Better detection of tab indentation.
...
"But surely nobody would indent by having spaces first,
and tabs after that. Right? Right?"
2019-05-09 22:38:44 +03:00
Jussi Pakkanen
1f4023fa47
Merge pull request #5311 from mensinda/flake8Plugins
...
Added flake8 plugins and some code fixes
2019-05-02 23:30:29 +03:00
Michael Hirsch, Ph.D
06bfc2dab6
per-target manual specification of link_language
2019-05-02 23:26:51 +03:00
Daniel Mensinger
3581839f4c
Fix unused variables warnings
2019-04-29 12:22:50 +02:00
Daniel Mensinger
bf98ffca9e
Fix blind exceptions
2019-04-29 12:16:06 +02:00
Jon Turney
744ca13ddb
Don't always skip objc/objc++ tests on Windows
...
These tests can run under MSYS2 using gcc or clang objc/objc++.
2019-04-15 12:07:17 +01:00
Jon Turney
1e9b753c95
Report detected compilers in run_project_tests
...
v2:
Use compilers.all_languages for the list of known languages
2019-04-15 12:06:58 +01:00
Ari Vuollet
5ee2fb6ede
d: Fix linker errors with shared libraries on Windows
2019-04-03 19:59:24 +03:00
John Ericson
f53f58f54e
Always initialize compiler_options before sanity_check
...
This is because sanity checking wants to use CFLAGS and friends.
2019-03-27 10:54:56 -04:00
Jussi Pakkanen
ed5992a10d
Merge pull request #5031 from bonzini/kconfig
...
Kconfig Module
2019-03-20 22:03:47 +02:00
Paolo Bonzini
7a02b76e70
interpreterbase: protect string division with FeatureNew
...
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>
2019-03-18 10:51:44 -07:00
Mark Schulte
647bd2839e
[modules] Add kconfig module
...
Add a kconfig module to allow meson to integrate with existing projects
that use kconfig.
2019-03-15 11:42:36 +01:00
Dylan Baker
e7c4601fe3
tests: disable Dlang tests on windows
...
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.
2019-03-13 23:18:09 +02:00
Michael Hirsch, Ph.D
71cffa67fa
add NetCDF
2019-02-28 22:13:38 +02:00
Jussi Pakkanen
a81207881b
Disable D tests if dmd install is broken.
2019-02-26 01:26:54 +02:00
Dylan Baker
097faee83b
run_project_tests: add support for loading cross files
2019-02-04 14:42:55 -08:00
Dylan Baker
30cf4f9c3a
run_project_tests: Add support for loading a native file in tests
...
The file must be called nativefile.txt
2019-02-04 14:42:55 -08:00
Nirbheek Chauhan
042f5638bf
project tests: qt is available on the macOS CI
2019-02-01 00:14:09 +05:30
Jussi Pakkanen
8eca221aac
More tests and pic.
2019-01-21 23:35:38 +02:00
Dylan Baker
978e6fb88f
tests: Add tests for the python module
...
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.
2018-12-12 12:23:37 -08:00
Jon Turney
94cdb68a3a
Deal with clang-cl generating empty implibs
...
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.
2018-11-06 13:19:44 +00:00
Jon Turney
5d51329d27
Extend test to when both name_{suf,pre}fix: are used
2018-11-06 13:17:21 +00:00