summaryrefslogtreecommitdiff
path: root/run_project_tests.py
Commit message (Collapse)AuthorAgeFilesLines
...
* test: realise test_args.txt with a test matrixDaniel Mensinger2020-02-251-17/+1
|
* test: merge test_matrix.json and setup_env.json into test.jsonDaniel Mensinger2020-02-251-16/+27
|
* test: general refactoring of run_project_tests.pyDaniel Mensinger2020-02-251-41/+44
|
* boost: Updated testsDaniel Mensinger2020-02-201-4/+36
|
* Remove unused no-installed-files test featureJon Turney2020-02-131-5/+1
| | | | | | | | | | | 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.
* Refactor TestResult object initializationJon Turney2020-02-131-36/+60
| | | | | | | | Just add or alter attributes of the TestResult object, rather than many, many invocations of the constructor with very similar arguments. Define helper methods for TestResult to add the results of a step and set the failure reason.
* ci: Add Fedora and OpenSUSE imagesDaniel Mensinger2020-02-111-0/+6
|
* run_project_tests: Fix it to actually workDylan Baker2020-02-071-5/+10
| | | | | | | | | | This move the sorting logic into the TestDef class itself, which simplifies sorting them. Additionally it remove overcomplicated sort logic, because python strings are compared character by character, we don't need to do the split and cast to int, we know that realistically a maximum of 4 characters (the first 4 numbers) are going to be compared in most cases.
* tests: Added basic test matrix support for project testsDaniel Mensinger2020-02-051-22/+84
|
* Merge pull request #6536 from jon-turney/cross-testing-refactorJussi Pakkanen2020-01-301-7/+13
|\ | | | | Refactor CI cross-testing
| * Make run_project_tests.py aware of --cross-file optionJon Turney2020-01-281-7/+13
| |
* | Bugfix: sanitize_dir: use pathlib to handle case-insensitive filesystems (#6398)Michael Hirsch, Ph.D2020-01-301-1/+5
|/
* cmake: Some test improvementsDaniel Mensinger2020-01-261-1/+3
|
* tests: Fix some test failures on Ubuntun 16.04 CINirbheek Chauhan2020-01-241-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
* types: import typing as T (fixes #6333)Daniel Mensinger2020-01-081-11/+11
|
* doc: cuda windows commentMichael Hirsch, Ph.D2019-12-231-1/+2
|
* Merge pull request #6207 from dcbaker/linker-optionJussi Pakkanen2019-12-111-5/+4
|\ | | | | Add a way to select the dynamic linker meson uses
| * run_project_tests: Fix skip rustDylan Baker2019-12-031-5/+4
| | | | | | | | which expects an argument of backend, but isn't getting one.
* | run_project_tests: argparse(choices) for --only name checkMichael Hirsch, Ph.D2019-12-071-7/+15
| |
* | Merge pull request #6228 from scivision/scalapackJussi Pakkanen2019-12-071-1/+1
|\ \ | | | | | | deps: add Scalapack
| * | CI: scalapack not skippable since it's now in Docker imageMichael Hirsch, Ph.D2019-11-301-5/+1
| | |
| * | deps: add scalapackMichael Hirsch, Ph.D2019-11-301-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)
* | lgtm: fix Unreachable codeDaniel Mensinger2019-12-051-1/+0
|/
* ci: Add CI command to include text files in the CI logDaniel Mensinger2019-11-191-15/+47
|
* use '-Werror=unused-parameter' for gcc/clang on project tests and ↵Michael Hirsch, Ph.D2019-11-171-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
* run_project_tests: Added print_tool_versions()Daniel Mensinger2019-10-201-0/+33
|
* compilers: replace CompilerType with MachineInfoDylan Baker2019-10-071-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
* Add blocks dependencyPatrick Griffis2019-09-231-0/+4
| | | | This allows easily enabling the blocks clang extension.
* PGI: windows PGI is sort of MSVC-likeMichael Hirsch, Ph.D2019-09-051-1/+2
|
* tests: add wasm to run_project_tests --onlyDylan Baker2019-08-121-0/+1
|
* Condense test directory names.Jussi Pakkanen2019-08-031-1/+1
|
* fortran tests: non-gfortran compilers on Windows are best static libsMichael Hirsch, Ph.D2019-07-301-29/+22
| | | | collapsed get_relative_files_list_from_dir to a one-liner via pathlib.Path
* run_tests: ifort / intel-cl must have ninja backendMichael Hirsch, Ph.D2019-07-301-5/+3
|
* actually failfast, was not failing fast beforeMichael Hirsch, Ph.D2019-07-301-2/+2
|
* cmake: added test case for environment variablesDaniel Mensinger2019-07-231-1/+11
|
* pythonic file checksMichael Hirsch, Ph.D2019-07-111-19/+15
|
* Use pytest parallelisation if available.Jussi Pakkanen2019-07-091-0/+2
|
* Add command line argument to skip unit tests.Jussi Pakkanen2019-07-091-0/+2
|
* correct missing argument for IntelClFortranCompilerMichael Hirsch, Ph.D2019-06-241-1/+7
| | | | | | ifort passes all tests cleanup logic
* only --only option to run_project_tests, add type hints, improve variable ↵Michael Hirsch, Ph.D2019-06-231-10/+28
| | | | name use
* windows project_test speedup by 2Michael Hirsch, Ph.D2019-06-231-1/+2
|
* Do not check for DOS line endings in log files.Jussi Pakkanen2019-06-221-0/+2
|
* Detect broken Rust compiler setups.Jussi Pakkanen2019-06-221-1/+29
|
* Purge `is_cross` and friends without changing user interfacesJohn Ericson2019-06-091-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.
* Use `env.machines.*` to avoid some `is_cross`John Ericson2019-06-091-12/+12
| | | | | This is a small example of the `is_cross` removal the that abstraction enables.
* cmake: disable the CMake tests for msvc2015Daniel Mensinger2019-06-061-1/+1
|
* cmake: better loggingDaniel Mensinger2019-06-061-0/+10
|
* cmake: fixed installed_files.txtDaniel Mensinger2019-06-061-0/+5
|
* cmake: Added project testsDaniel Mensinger2019-06-061-0/+1
|
* Update to new ccache URLJoel Rosdahl2019-05-271-1/+1
| | | | | | ccache’s web site is now located at https://ccache.dev. Bonus: Use the preferred capitalization ā€œCcacheā€ instead of ā€œCCacheā€.