aboutsummaryrefslogtreecommitdiff
path: root/test cases
AgeCommit message (Collapse)AuthorFilesLines
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-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.
2016-02-23fix 'object generator' test case for ninjaNicolas Schneider1-1/+1
The ninja backend uses the '/MDd' switch when the tests are run, which results in LNK4098 error, because the generator does not use the same version of the Windows runtime library.
2016-02-21Skip cython test if it does not exist.Jussi Pakkanen1-7/+12
2016-02-21Can build Python extension on OSX.Jussi Pakkanen1-1/+9
2016-02-21Fix cython to work on platforms other than latest Ubuntu.Jussi Pakkanen2-8/+2
2016-02-21Added Cython sample project.Jussi Pakkanen7-0/+110
2016-02-21Can build a Python extension module.Jussi Pakkanen4-0/+78
2016-02-21Added plain Python sample project.Jussi Pakkanen6-0/+37
2016-02-21Only support Python 3.Jussi Pakkanen1-5/+3
2016-02-18Add a test for getting the path of a found programNirbheek Chauhan2-0/+14
2016-02-14Guard against subdir segments in output files.Jussi Pakkanen3-0/+8
2016-01-25Can add languages only if they are available. Closes #365.Jussi Pakkanen2-1/+5
2016-01-25More comparison operators. Closes #363.Jussi Pakkanen1-0/+12
2016-01-25String to int conversion. Closes #362.Jussi Pakkanen2-0/+5
2016-01-23Can build Vala shared libraries.Jussi Pakkanen5-0/+27
2016-01-23Better error message when failing to run install script. Closes #361.Jussi Pakkanen1-0/+2
2016-01-17Dumped fastvapi and made library linking with Vala work.Jussi Pakkanen3-0/+23