aboutsummaryrefslogtreecommitdiff
path: root/test cases
AgeCommit message (Collapse)AuthorFilesLines
2019-08-02Merge pull request #5749 from mensinda/cmGenExpJussi Pakkanen4-0/+75
CMake: Basic generator expression support
2019-07-31Allow kconfig to read from configure_file()Marc-André Lureau1-2/+2
At configure time, kconfig can read from configure_file(). "test cases/kconfig/4 load_config builddir/meson.build" was already showing a workaround, now it actually can take configure_file input directly.
2019-07-31cmake: added generator expression test caseDaniel Mensinger4-0/+75
2019-07-31Merge pull request #5638 from mensinda/cmInterfaceJussi Pakkanen4-0/+52
CMake: Support INTERFACE libraries
2019-07-31Merge pull request #5733 from scivision/pgi_openmpJussi Pakkanen5-15/+25
PGI: correct Fortran so that Fortran run_project_tests.py pass
2019-07-31mintro: Fix crash related to the sources kwarg (fixes #5741)Daniel Mensinger1-1/+1
2019-07-30skip common/223 for PGI, as even 19.4 doesn't fully support C++17 as claimedMichael Hirsch, Ph.D1-0/+6
2019-07-30PGI: fix openmp for 190common testMichael Hirsch, Ph.D1-10/+11
since there is no pgc++ on Windows, we avoid invoking that in 190common
2019-07-30default fortran lib to static so windows can be testedMichael Hirsch, Ph.D1-1/+2
2019-07-30skip fortran dyamiclib tests on WindowsMichael Hirsch, Ph.D1-2/+4
2019-07-30PGI doesn't have coarray fortranMichael Hirsch, Ph.D1-2/+2
2019-07-30Merge pull request #5740 from scivision/intel-ci_fixJussi Pakkanen1-1/+2
tests: Intel-cl fixes for Fortran
2019-07-30PGI: cpp_pch precompiled headers functionalityMichael Hirsch, Ph.D6-1/+38
* PGI C++ PCH enable PGI compilers support precompiled headers for C++ only. The common/13 pch test passes if run manually with no spaces in the build path. However, since Meson run_project_tests.py makes temporary build directories with spaces in each tests, PGI --pch_dir can't handle this and fails. So we skip the test for PGI despite it working for usual case with no-spaces in build dir. Note: it's fine to have spaces in full path for sourcedir, just no spaces in relative path to builddir. * doc
2019-07-30fortran tests: non-gfortran compilers on Windows are best static libsMichael Hirsch, Ph.D1-1/+2
collapsed get_relative_files_list_from_dir to a one-liner via pathlib.Path
2019-07-29Flang and PGI don't yet support coarrayMichael Hirsch, Ph.D1-0/+7
2019-07-25cmake: Added interface libraries test caseDaniel Mensinger4-0/+52
2019-07-24tests/122 shared module: More verbose loggingNirbheek Chauhan2-2/+16
So we know why the syscalls failed.
2019-07-23meson: handle nested disablerMarc-André Lureau1-0/+1
Fixes #5659
2019-07-23cmake: added test case for environment variablesDaniel Mensinger3-0/+16
2019-07-19Add version check support to find_program()Xavier Claessens3-0/+25
Closes: #1609
2019-07-18add cross-platform test for cmake_module_pathMichael Hirsch, Ph.D2-0/+41
This test tolerates CMake >= 3.7, and checks that dependency(..., cmake_module_path=...) works on any OS with CMake.
2019-07-17cmake: Fix empty -D due to empty strings (closes #5522)Daniel Mensinger3-0/+37
2019-07-17Accept vs_module_defs for modulesMarc-André Lureau1-0/+1
Like shared libraries, modules may have vs_module_defs. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2019-07-16gtkdoc: Add 'check' kwarg (#5591)Xavier Claessens9-27/+192
* gtkdoc: Add 'check' kwarg This runs gtkdoc-check in meson tests. Also reorganize the gtkdoc test because we cannot reliably build multiple doc into the same directory. Not all files generated by gtk-doc are prefixed with the target name.
2019-07-16work around failure of test 185 in single-byte localesPaolo Bonzini1-1/+1
The Windows CI runs with codepage 1252, which is basically ISO-8859-1 and does not have a mapping for character U+0151 (Å‘). It is currently passing because of a happy accident, as the generator command line is emitted in UTF-8 anyway (starting at commit 6089631a, "Open build files with utf-8", 2018-04-17, which however lacks documentation or history) and file.py treats it as two single-byte characters. When going through meson_exe, however, Windows passes a genuine Unicode character via CreateProcessW and file.py fails to decode it, so we need to pass errors='replace' when opening the output file. On Windows, the test is then fixed. On POSIX systems it is _still_ passing as a happy accident because (according to the current locale) the output file contains two single-byte characters rather than the single Unicode character "Å‘"; in fact, if one modifies the ninja backend to use force_serialize=True, meson_exe fails to build the command line for file.py and stops with a UnicodeEncodeError.
2019-07-13cmake: Handle disabling subprojectsThibault Saunier1-0/+5
2019-07-11cmake: Fix dependencies with try_compile (closes #5605)Daniel Mensinger1-0/+3
2019-07-11Merge pull request #5606 from xclaesse/alias_targetJussi Pakkanen2-0/+18
Add alias_target() function
2019-07-11Adapting Boost Python library detection to Boost >= 1.67. Closes #4288.gjaeger13-0/+102
2019-07-10Add alias_target() functionXavier Claessens2-0/+18
2019-07-10Merge pull request #5574 from mensinda/cmakeCCmdJussi Pakkanen9-0/+157
CMake subprojects add_custom_command support
2019-07-08Update hotdoc files to match those produced by newest version.Jussi Pakkanen1-0/+9
2019-07-05Fix windres module argument flatteningePirat1-1/+2
2019-07-02tests/llvm: Test both cmake and llvm-config methodsDylan Baker1-20/+24
2019-06-28cmake: Skip ARGS key in COMMANDDaniel Mensinger1-1/+1
2019-06-28cmake: Added custom_target test caseDaniel Mensinger9-0/+157
2019-06-27`add_{global,project}_{,link_}arguments`: simply native flag behaviorJohn Ericson2-40/+33
This further simplifies behavior to match the "build vs host" decision we did with `c_args` vs `build_c_args`. The rules are now simply: - `native: true` affects `native: true` targets - `native: false` affects `native: false` targets - No native flag is the same as `native: false` I like this because you don't even have to know what "build" and "host" mean to understand how it works, and it doesn't depend on whether the overall build is cross or not. Fixes #4933
2019-06-25fortran-specific openMP testsMichael Hirsch, Ph.D2-0/+51
2019-06-24only test if Zlib foundMichael Hirsch, Ph.D1-2/+6
2019-06-24windows ifort can't do shared_library sanelyMichael Hirsch, Ph.D1-0/+6
2019-06-24intel windows coarray argsMichael Hirsch, Ph.D1-1/+2
2019-06-23fortran 2003 use, non_instrinsicMichael Hirsch, Ph.D5-19/+61
incl inver
2019-06-23fortran submodule checksMichael Hirsch, Ph.D3-3/+7
fortran submodule checks
2019-06-23fortran include syntax checksMichael Hirsch, Ph.D4-3/+32
minvers
2019-06-23BUGFIX: Fortran module regex handle more edge casesMichael Hirsch, Ph.D3-0/+11
2019-06-23compilers: Fix bitcode and other options for objc codeNirbheek Chauhan5-0/+35
We were setting the base options for the Objective-C compiler manually, due to which options such as b_bitcode and b_ndebug were not getting set at all. The base options here are the same as for C code with the Clang compiler, so just use the same inherited list. Also expand the bitcode test to ObjC and ObjC++ so this doesn't happen again.
2019-06-22Fix the last remaining Rust install file list.Jussi Pakkanen1-1/+5
2019-06-22Run Rust shared library test via rustup to get the environment right.Jussi Pakkanen1-1/+8
2019-06-21Add Rust generated pdbs to list of installed files.Jussi Pakkanen6-1/+12
2019-06-20add fortarn use inline comment testMichael Hirsch, Ph.D1-1/+1