aboutsummaryrefslogtreecommitdiff
path: root/run_project_tests.py
AgeCommit message (Collapse)AuthorFilesLines
2020-02-24ci: Don't require ninja >= 1.9 on Xenial/Bionic CINirbheek Chauhan1-2/+2
Those distros do not ship with the latest Ninja, and we should be testing with the Ninja that they ship.
2020-02-17tests: Added basic test matrix support for project testsDaniel Mensinger1-22/+84
2020-01-24tests: Fix some test failures on Ubuntun 16.04 CINirbheek Chauhan1-1/+3
* 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
2020-01-23types: import typing as T (fixes #6333)Daniel Mensinger1-11/+11
2019-12-23doc: cuda windows commentMichael Hirsch, Ph.D1-1/+2
2019-12-11Merge pull request #6207 from dcbaker/linker-optionJussi Pakkanen1-5/+4
Add a way to select the dynamic linker meson uses
2019-12-07run_project_tests: argparse(choices) for --only name checkMichael Hirsch, Ph.D1-7/+15
2019-12-07Merge pull request #6228 from scivision/scalapackJussi Pakkanen1-1/+1
deps: add Scalapack
2019-12-05lgtm: fix Unreachable codeDaniel Mensinger1-1/+0
2019-12-03run_project_tests: Fix skip rustDylan Baker1-5/+4
which expects an argument of backend, but isn't getting one.
2019-11-30CI: scalapack not skippable since it's now in Docker imageMichael Hirsch, Ph.D1-5/+1
2019-11-30deps: add scalapackMichael Hirsch, Ph.D1-0/+4
Scalapack uses a library stack that can be challenging to manage. Not least of all since many Scalapacks ship with broken / incomplete pkg-config files and CMake FindScalapack.cmake This resolves those issues for typical Scalapack setups including: * Linux: Intel MKL or OpenMPI + Netlib * MacOS: Intel MKL or OpenMPI + Netlib * Windows: Intel MKL (OpenMPI not available on Windows)
2019-11-19ci: Add CI command to include text files in the CI logDaniel Mensinger1-15/+47
2019-11-17use '-Werror=unused-parameter' for gcc/clang on project tests and ā†µMichael Hirsch, Ph.D1-2/+7
-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-10-20run_project_tests: Added print_tool_versions()Daniel Mensinger1-0/+33
2019-10-07compilers: replace CompilerType with MachineInfoDylan Baker1-1/+1
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-09-23Add blocks dependencyPatrick Griffis1-0/+4
This allows easily enabling the blocks clang extension.
2019-09-05PGI: windows PGI is sort of MSVC-likeMichael Hirsch, Ph.D1-1/+2
2019-08-12tests: add wasm to run_project_tests --onlyDylan Baker1-0/+1
2019-08-03Condense test directory names.Jussi Pakkanen1-1/+1
2019-07-30fortran tests: non-gfortran compilers on Windows are best static libsMichael Hirsch, Ph.D1-29/+22
collapsed get_relative_files_list_from_dir to a one-liner via pathlib.Path
2019-07-30run_tests: ifort / intel-cl must have ninja backendMichael Hirsch, Ph.D1-5/+3
2019-07-30actually failfast, was not failing fast beforeMichael Hirsch, Ph.D1-2/+2
2019-07-23cmake: added test case for environment variablesDaniel Mensinger1-1/+11
2019-07-11pythonic file checksMichael Hirsch, Ph.D1-19/+15
2019-07-09Use pytest parallelisation if available.Jussi Pakkanen1-0/+2
2019-07-09Add command line argument to skip unit tests.Jussi Pakkanen1-0/+2
2019-06-24correct missing argument for IntelClFortranCompilerMichael Hirsch, Ph.D1-1/+7
ifort passes all tests cleanup logic
2019-06-23only --only option to run_project_tests, add type hints, improve variable ā†µMichael Hirsch, Ph.D1-10/+28
name use
2019-06-23windows project_test speedup by 2Michael Hirsch, Ph.D1-1/+2
2019-06-22Do not check for DOS line endings in log files.Jussi Pakkanen1-0/+2
2019-06-22Detect broken Rust compiler setups.Jussi Pakkanen1-1/+29
2019-06-09Purge `is_cross` and friends without changing user interfacesJohn Ericson1-6/+6
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-09Use `env.machines.*` to avoid some `is_cross`John Ericson1-12/+12
This is a small example of the `is_cross` removal the that abstraction enables.
2019-06-06cmake: disable the CMake tests for msvc2015Daniel Mensinger1-1/+1
2019-06-06cmake: better loggingDaniel Mensinger1-0/+10
2019-06-06cmake: fixed installed_files.txtDaniel Mensinger1-0/+5
2019-06-06cmake: Added project testsDaniel Mensinger1-0/+1
2019-05-27Update to new ccache URLJoel Rosdahl1-1/+1
ccacheā€™s web site is now located at https://ccache.dev. Bonus: Use the preferred capitalization ā€œCcacheā€ instead of ā€œCCacheā€.
2019-05-13compilers/clike: ICL needs msvc workarounds in has_functionDylan Baker1-1/+1
2019-05-09Better detection of tab indentation.Jussi Pakkanen1-2/+3
"But surely nobody would indent by having spaces first, and tabs after that. Right? Right?"
2019-05-02Merge pull request #5311 from mensinda/flake8PluginsJussi Pakkanen1-2/+2
Added flake8 plugins and some code fixes
2019-05-02per-target manual specification of link_languageMichael Hirsch, Ph.D1-0/+4
2019-04-29Fix unused variables warningsDaniel Mensinger1-1/+1
2019-04-29Fix blind exceptionsDaniel Mensinger1-1/+1
2019-04-15Don't always skip objc/objc++ tests on WindowsJon Turney1-2/+2
These tests can run under MSYS2 using gcc or clang objc/objc++.
2019-04-15Report detected compilers in run_project_testsJon Turney1-5/+18
v2: Use compilers.all_languages for the list of known languages
2019-04-03d: Fix linker errors with shared libraries on WindowsAri Vuollet1-1/+1
2019-03-27Always initialize compiler_options before sanity_checkJohn Ericson1-0/+2
This is because sanity checking wants to use CFLAGS and friends.
2019-03-20Merge pull request #5031 from bonzini/kconfigJussi Pakkanen1-0/+1
Kconfig Module