aboutsummaryrefslogtreecommitdiff
path: root/test cases
AgeCommit message (Collapse)AuthorFilesLines
2019-11-30deps: add scalapackMichael Hirsch, Ph.D3-0/+101
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-30cmake: Make output_target_map more robust (fixes #6208)Daniel Mensinger5-2/+65
This PR refactors the old output_target_map, which was a raw dict, into it's own class. This makes the access to the map more uniform and robust (at the cost of more lines of code). Additionally relative paths to the build directory are now also tracked for outputs. This is neccessary to corretcly distingluish files with the same name, that are in different directories.
2019-11-29tests: add osx test case for PIE builds.Mihai Moldovan2-0/+8
2019-11-28Revert "Have set() and set_quoted() of configuration object work with newlines."Xavier Claessens2-12/+0
This reverts commit 6ed36e97aeb01dd779115a9710d3a97cdbcb4ccf.
2019-11-28Merge pull request #5989 from xclaesse/cmake-part2Jussi Pakkanen4-0/+51
cmake: Add support for add_custom_target() and add_dependencies()
2019-11-28HDF5: make much more robust across platformsMichael Hirsch, Ph.D1-24/+11
This addresses various real-world problems with HDF5 pkg-config, including * hdf*.pc with package versions as part of the filename * malformed hdf*.pc missing the commonly-used HDF5 HL module --- Additionally, this refactors more complicated dependencies such as HDF5 and OpenMPI. This may help us deduplicate internal dependency code in the future. HDF5 selftest: improve platform-agnostic test ci: init demo github action for HDF5 framework ci Actions: hold off on MSYS2 for now [skip ci] hdf5: ensure C libraries always included ci: mac hdf5--use clang+gfortran
2019-11-28cmake: Some minor fixupDaniel Mensinger3-1/+20
2019-11-27cmake: Add unit test for add_custom_target() and add_dependency()Xavier Claessens3-0/+32
Also test commands with args separated by ';'
2019-11-27tests: add clues to find missing private/qtobject_p.h [skip ci]Marc1-0/+4
Finding all the dependencies missing from my Fedora system to run the whole test suite was relatively quick - except for this one.
2019-11-26Fix crash when checking multi version on subproject depXavier Claessens1-0/+6
Also harminize a bit the logged message.
2019-11-25Fix link_whole with a custom targetXavier Claessens3-0/+17
t.pic won't be defined. We can only hope it has been built with -fPIC. Linker will complain otherwise any way. t.extract_all_objects_recurse() won't be defined. We could support this case by extracting the archive somewhere and pick object files.
2019-11-25fs: Add parent() and name() methodsXavier Claessens1-0/+3
2019-11-25Merge pull request #6213 from mensinda/cmNameFixJussi Pakkanen4-10/+12
cmake: Uniform target name handling and custom target fixes
2019-11-25complete gfortran/intel/intel-cl fortran_std testMichael Hirsch, Ph.D6-0/+149
2019-11-21Fix compute_int() when the value is -1Xavier Claessens1-0/+3
2019-11-20cmake: Uniform target name handlingDaniel Mensinger4-10/+12
2019-11-20Merge pull request #6199 from mensinda/cmSysIncJussi Pakkanen1-1/+5
cmake: Handle CMake system include dirs (closes #6079)
2019-11-19Have set() and set_quoted() of configuration object work with newlines.Jehan2-0/+12
* Have set() and set_quoted() of configuration object work with newlines. set_quoted() makes the value into a double-quoted string, so let's assume C-style string, in particular with newlines as "\n". Also take care of remaining newlines in dump_conf_header(). C or nasm macros expect single-line values so if the value was multi-line, we would end up with broken syntax. Appending a backslash at each end of line make them concat into a single line in both C and nasm format (note: multi-line macros in nasm are actually possible apparently but use another format not outputted by current meson code). Also note that the replacement is done at the end only when dumping the conf as a header because we cannot assume anything about the format when replacing variables from an input file (in this case, it should be the dev responsibility). * Add unit tests for multiline set() and set_quoted().
2019-11-19cmake: Skip system include dir test for msvcDaniel Mensinger1-0/+4
2019-11-19cmake: Handle CMake system include dirs (closes #6079)Daniel Mensinger1-1/+1
2019-11-18Merge pull request #6194 from scivision/coarraysJussi Pakkanen1-7/+5
dep: Fortran Coarrays-enhance finding by use Pkg-config & CMake
2019-11-18Use strict function prototypesMichael Hirsch, Ph.D294-398/+396
2019-11-17ci: add timeout to coarray testMichael Hirsch, Ph.D1-7/+5
2019-11-17Make all C main functions without arguments have "void" in arg list.Jussi Pakkanen142-146/+146
2019-11-17Merge pull request #6150 from scivision/fsexpandJussi Pakkanen1-1/+52
fs module; make more robust, dedupe code, add method, add type anno & check
2019-11-17use '-Werror=unused-parameter' for gcc/clang on project tests and ↵Michael Hirsch, Ph.D184-200/+197
-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-17fs: make replace_suffix not expand file to absolute path, just manipulate ↵Michael Hirsch, Ph.D1-4/+4
the string
2019-11-17fs: replace_suffixMichael Hirsch, Ph.D1-11/+11
2019-11-17fs: get file sizeMichael Hirsch, Ph.D1-0/+14
fs: add samefile
2019-11-17fs: add hash compute methodMichael Hirsch, Ph.D1-0/+8
2019-11-17fs: further document and test behaviorMichael Hirsch, Ph.D1-0/+12
2019-11-17fs: extend self-test to cover windows as well for with_suffixMichael Hirsch, Ph.D1-8/+9
2019-11-17add fs.with_suffixMichael Hirsch, Ph.D1-0/+13
2019-11-17fs: use expanduserMichael Hirsch, Ph.D1-0/+3
2019-11-13coredata: CmdLineFileParser no longer interpolates strings.Paulo Neves1-0/+1
Previously if a user tried to pass a command line build option that contained a '%' character the command line parser assumed that there was string interpolation to be done. As there is no sense in such a scenario no code provides any input for the interpolation. This then leads to a failure. In this commit we specifically override the defaults in ConfigParser and set interpolation to None, which disables command line build option interpolation. Fixes #6157
2019-11-13Revert "Add `-Wl,-rpath-link` for secondary dependencies"Jussi Pakkanen8-45/+0
This reverts commit 7b9c348102792030859ed0001a51416506a0a092. Closes #6027.
2019-11-12Fixed issue that the key's value type wasn't checked correctly.fchin2-0/+18
Added two new failing tests.
2019-11-12Adding dictionary entry using string variable as key.franczc1-0/+12
2019-11-10Store run target names in build.Jussi Pakkanen1-0/+7
This way we can easily check that we only provide builtin targets such as clang-format if the user has not provided their own.
2019-11-08Created the filesystem module.Jussi Pakkanen8-0/+36
2019-11-07wrap.py: catch connection error with WrapExceptionMichael Hirsch, Ph.D1-1/+1
fixes #6130 wrap: more error verbosity
2019-11-06Fix typos found by codespellWolfgang Stöggl8-21/+21
- Typos were found by codespell v1.16.0
2019-11-05dependency('cuda')Aleksey Gurtovoy17-0/+231
2019-10-24Return a disabler when an unknown method is called on a disabler objectJames Hilliard1-0/+3
2019-10-23tests: add fortran-specific compiler checksMichael Hirsch, Ph.D2-0/+31
2019-10-21Remove duplicated object files in static librariesXavier Claessens4-0/+29
When a static library link_whole to a bunch of other static libraries, we have to extract all their objects recursively. But that could introduce duplicated objects. ar is dumb enough to allow this without error, but once the resulting static library is linked into an executable or shared library, the linker will complain about duplicated symbols.
2019-10-20cmake: Blacklist more compiler warning flagsDaniel Mensinger6-0/+78
2019-10-20Disable extension module tests with Python 3.8 and VS2015.Jussi Pakkanen3-0/+20
2019-10-18MPI: don't excessively skip Windows test cases, which can hide real problemsMichael Hirsch, Ph.D2-21/+27
2019-10-18tests/1common: update meson_version>=0.52 for is_disablerMichael Hirsch, Ph.D1-1/+1
since 0.52 is indeed now required for this test case.