aboutsummaryrefslogtreecommitdiff
path: root/test cases
AgeCommit message (Collapse)AuthorFilesLines
2016-06-05Removed vs nomod test because it fails at compile time but the framework ↵Jussi Pakkanen4-22/+0
needs it to fail at configure time.
2016-06-05Merge pull request #573 from centricular/dependency-versionsJussi Pakkanen7-0/+53
Several fixes to how versioned dependencies are handled + tests
2016-06-01Can generate config headers without an input file. Closes #549.Jussi Pakkanen2-0/+48
2016-06-01Add various tests for versioned dependency checkingNirbheek Chauhan7-0/+53
Both pkg-config and subproject-based dependencies Linux-like because we need zlib for the tests to work
2016-05-30Handle case of install_subdirring a subdir.Jussi Pakkanen3-0/+3
2016-05-30Installing subdirs now merges with existing files in the target dir.Jussi Pakkanen3-0/+3
2016-05-30Added method to get current project name.Jussi Pakkanen2-0/+4
2016-05-30Fix installing manpages from subdirs.Jussi Pakkanen3-0/+3
2016-05-29Can have multiple Qt resource files in a single target. Closes #572.Jussi Pakkanen3-4/+12
2016-05-29Can query version strings of dependencies.Jussi Pakkanen2-0/+5
2016-05-29Added semantic versioning comparison method to strings.Jussi Pakkanen1-0/+12
2016-05-26vs: fix generators that use indexed output replacements (like @OUTPUT0@)Nicolas Schneider3-2/+12
2016-05-26compilers: Fix header stub change that broke has_function checks on Windows ↵Nirbheek Chauhan1-1/+7
(#559) Fixes https://github.com/mesonbuild/meson/issues/558
2016-05-25Helper function to get the install dir of a gtkdoc module. Closes #551.Jussi Pakkanen2-2/+4
2016-05-25Merge pull request #479 from mesonbuild/i18nJussi Pakkanen3-4/+5
Moved gettext into i18n module.
2016-05-24Join() convenience method for strings. Closes #552.Jussi Pakkanen1-0/+4
2016-05-04tests/common/43: Better, more descriptive error messagesNirbheek Chauhan1-6/+6
2016-04-13Merge pull request #490 from centricular/has_function_linkJussi Pakkanen2-0/+42
Use the linker to check if a specific function is provided by the toolchain or runtime
2016-04-09Strip leading source tree dir name from install files if it exists.Jussi Pakkanen3-0/+8
2016-04-07Improve cc.has_function() check to not require any includes and detect stubsTim-Philipp Müller1-0/+24
We now use .links() to detect if a C compiler function is available or not, that way the user doesn't need to specify all the possible includes for the check, which simplifies things considerably. Also detect glibc stub functions that will never work and return false for them. Closes #437
2016-04-07New API: cc.has_header_symbol to check if a header defines a specific symbolNirbheek Chauhan1-0/+18
Also supports a 'prefix' keyword argument for feature checks such as _GNU_SOURCE or for headers that need to be included first
2016-04-03Merge pull request #390 from nirbheek/msvc-module-defsJussi Pakkanen9-0/+43
Add support for passing a module definitions file for exporting symbols while linking
2016-03-30And private libraries.Jussi Pakkanen1-0/+1
2016-03-30Can set requires manually into generated pc files.Jussi Pakkanen1-1/+3
2016-03-30Add shared_library argument for a Visual Studio module definitions fileNirbheek Chauhan9-0/+43
On MSVC, shared libraries only export symbols that have been explicitly exported either as part of the symbol prototype or via a module definitions file. On compilers other than MSVC, all symbols are exported in the shared library by default and the format for the list of symbols to export is different, so this is only used with the VisualStudio compiler. The module defs file path can either be relative to the current source directory or an absolute path using meson.source_root() + '/some/path'
2016-03-28Moved gettext into i18n module.Jussi Pakkanen3-4/+5
2016-03-24add test for extracting two objects with the same source file nameNicolas Schneider4-0/+18
2016-03-23Error out if using a not found binary in the build. Closes #469.Jussi Pakkanen1-0/+9
2016-03-20Merge pull request #464 from tp-m/bool-to-string-and-to-intJussi Pakkanen2-0/+9
Add bool to_string() and to_int() methods.
2016-03-19Add bool to_string() and to_int() methodsTim-Philipp Müller2-0/+9
bool to_int() will return 0 or 1, useful if one wants to set a define to 0 or 1 based on a boolean result instead of having it just defined or undefined. bool to_string() will return 'true' or 'false' by default same as when using it to format a string, but with the additional possibility to specify two extra string arguments to be returned as true/false values, e.g. to_string('yes', 'no'). This can be useful when outputting messages to be shown to the user.
2016-03-19Add += support for strings and integersTim-Philipp Müller1-0/+25
2016-03-17Add dir support for find_library and remove deprecated standalone version. ↵Jussi Pakkanen2-14/+13
Closes #450.
2016-03-14Merge test framework options.Jussi Pakkanen3-0/+12
2016-03-13test24: check that a target extra_arg is not applied to other targetsNicolas Schneider3-0/+24
2016-03-12Use assert instead of if/error.Jussi Pakkanen1-51/+17
2016-03-12enhance test framework to read meson arguments from a file per testNicolas Schneider3-0/+12
A 'test_args.txt' file in the same directory as the test case will be parsed by the test framework and the content will be passed as arguments to meson during configuration. The arguments are put before any 'extra_args' to make them overwritable from the command line.
2016-03-12Added find_library method and deprecated the standalone version. Closes #396.Jussi Pakkanen1-2/+7
2016-03-12Add string underscorify() functionTim-Philipp Müller1-0/+13
So we can easily construct the defines for include headers and struct checks and such.
2016-03-12Add more string functions: contains(), to_upper() and to_lower()Tim-Philipp Müller1-0/+24
2016-03-03fix test error messageNicolas Schneider1-1/+1
2016-03-03pass meson source and build dirs as env variables for postconf scriptsNicolas Schneider2-4/+4
2016-03-02use positional instead of keyword args for add_postconf_scriptNicolas Schneider1-1/+1
2016-03-01add args support for add_postconf_scriptNicolas Schneider4-0/+24
2016-03-01Can add postconfigure script.Nicolas Schneider4-0/+22
2016-02-29Can specify compile and link args for internal deps.Jussi Pakkanen3-1/+11
2016-02-29Handle built targets in custom rules. Closes #411.Jussi Pakkanen4-0/+23
2016-02-26Merge Python 3 module support.Jussi Pakkanen17-0/+249
2016-02-26Python extension module finally works on Windows.Jussi Pakkanen3-1/+18
2016-02-25Merge VS2010 path fix branch.Jussi Pakkanen6-0/+26
2016-02-24vs2010: fix target_to_build_root methodNicolas Schneider6-0/+26
Python's os.path.split() does not split the path into its components. Instead, split the path with str.split() using the OS's file system separator.