aboutsummaryrefslogtreecommitdiff
path: root/test cases
AgeCommit message (Collapse)AuthorFilesLines
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.
2019-10-15Add test case to verify identity cross buildsRoss Burton3-0/+22
A build with a cross file should always be identified as a cross build, even if the host and build machine are identical. This was the case in 0.50, regressed in 0.51, and is fixed again in 0.52, so add a test case to ensure it doesn't regress again.
2019-10-10Merge pull request #6011 from xclaesse/not-disablerJussi Pakkanen1-0/+44
Fix `if not disabler()` case
2019-10-09tests: Don't expect any *.pdb files installed in 'lib'Jakub Adam3-5/+0
Static libraries don't have PDB files. A PDB that would previously end up installed alongside a static library belonged in fact to the dynamic version of the same library built at the same time. This was because the former minstall.Installer implementation, when installing a file target, also blindly copied any *.pdb file it found whose filename was matching the target. So, for example installing foo.dll and foo.a would also install two copies of foo.pdb into both bin/ and lib/, which doesn't seem like the right thing to do - foo.pdb should only get installed with foo.dll.
2019-10-08Test disabler in foreach loopsXavier Claessens1-0/+22
The is_disabler() check in evaluate_foreach() was useless because we already checked that items is a list.
2019-10-08Fix `if not disabler()` caseXavier Claessens1-0/+22
Closes: #6010
2019-10-06Merge pull request #5953 from mensinda/isystemJussi Pakkanen4-0/+36
Add is_system to dependency
2019-10-06Updated include_type test caseDaniel Mensinger1-0/+1
2019-10-03cmake: Add test case for #5992Daniel Mensinger2-0/+4
2019-10-03Use include_type instead of is_systemDaniel Mensinger5-27/+32
2019-10-03Also add support for declare_dependency objectsDaniel Mensinger2-0/+10
2019-10-03added test case for is_system dependencyDaniel Mensinger1-0/+20
2019-10-01Add clang-tidy target. Closes #2383.Jussi Pakkanen3-0/+11
2019-10-01Recursively include all objects from uninstalled static librariesXavier Claessens6-0/+36
2019-10-01Do not promote to link_whole when an internal library links to anotherXavier Claessens4-0/+32
2019-10-01pkgconfig: Include dependencies of uninstalled static librariesXavier Claessens6-0/+46
2019-10-01pkgconfig: Do not include uninstalled static librariesXavier Claessens5-0/+36
2019-10-01Fix link_with of a static library with an uninstalled static libraryXavier Claessens5-0/+28
2019-10-01Fix link_whole of static librariesXavier Claessens5-0/+37