Jussi Pakkanen b949c4792d Preserve_path_from should be a kwarg of process(), not generator(). 6 vuotta sitten
..
1 trivial 6f4e5e96d8 Allow test to depend on executable target in cross build. (#2007) 7 vuotta sitten
10 man install a572ebd2a1 Convert man inputs to Files so you can install_man the output of configure_file. Closes #2135. 7 vuotta sitten
100 test workdir 23c6de3461 Can specify a working directory for tests. Closes #326. 8 vuotta sitten
101 suites b3d61beb2d A test can be part of multiple suites. 8 vuotta sitten
102 threads edaf663ee2 By default do not specify language version but instead use the compiler's default. 8 vuotta sitten
103 manygen 080674371f Use Python3 explicitly on this test because shutil.which does not exist on Python 2. 7 vuotta sitten
104 stringdef 6830f3e147 Forbid backslashes on compiler command lines. It is unfortunately the only reliable way. 8 vuotta sitten
105 find program path 333085160d run_command: Refactor + improve errors and test 7 vuotta sitten
106 subproject subdir 6de2fd6ab5 vs2010: fix target_to_build_root method 8 vuotta sitten
107 postconf 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
108 postconf with args 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
109 testframework options 5482a23936 enhance test framework to read meson arguments from a file per test 8 vuotta sitten
11 subdir 9262fe600a Split test suite into common and platform dependent parts. 11 vuotta sitten
110 extract same name 57ce7d4618 Add support for extracting objects in unity builds 8 vuotta sitten
111 has header symbol 5bdd75940b Fix ppoll() test to work on non-glibc platforms 7 vuotta sitten
112 has arg e1ffae0580 Add Compiler.get_supported_arguments() 7 vuotta sitten
113 generatorcustom 59984f5014 do not skip test case 113 on Windows 7 vuotta sitten
114 multiple dir configure file 65dfa428d5 tests/common/144: Add a test for #1865 7 vuotta sitten
115 spaces backslash d8b9b12adb Ninja now supports backslash in command args, so we can too 8 vuotta sitten
116 ternary d90fcb4048 Created ternary operator. Closes #538. 8 vuotta sitten
117 custom target capture 53795d89df vs: Always use a wrapper for custom target commands 7 vuotta sitten
118 allgenerate 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
119 pathjoin 940b8a2e93 tests/common/119: Test array args to join_paths() 7 vuotta sitten
12 data 7d6f628ed4 Support file perms for install_data and install_subdir 7 vuotta sitten
120 subdir subproject 3650669874 Allow subproject declarations in subdirectories 7 vuotta sitten
121 interpreter copy mutable var on assignment 627d859809 interpreter: copy mutable variables on assignment 7 vuotta sitten
122 skip d45db903ac Rename test cases to remove duplicate numbers. 7 vuotta sitten
123 subproject project arguments a00ab548eb add_project_arguments: allow call after subproject() 7 vuotta sitten
124 test skip 1cb9d2bc0d Support skipped tests 7 vuotta sitten
125 shared module f2835004ea spelling: necessary 6 vuotta sitten
126 llvm ir and assembly 8aab7fea5a spelling: executable 6 vuotta sitten
127 cpp and asm 4b3eaf1b66 Tag functions in asm properly. Thanks to Matthias Klose for debugging the issue. 7 vuotta sitten
128 extract all shared library 3fad3cbb81 Test extracting static objects into a shared library 7 vuotta sitten
129 object only target 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
13 pch e967e5eb4b At last! MSVC precompiles headers and can use them. 11 vuotta sitten
130 no buildincdir b01d2c35b7 Only add build dir inlude directives if the corresponding dir exists. Closes #1185. 7 vuotta sitten
131 custom target directory install 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
132 dependency file generation 2f5943d34d Add a new test for depfile generation with spaces 7 vuotta sitten
133 configure file in generator 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
134 generated llvm ir 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
135 generated assembly 8a2699acd0 Fix test cases/common/135 on Cygwin 7 vuotta sitten
136 build by default targets in tests b98599ad96 tests: build_by_default : false targets used in tests should be built 7 vuotta sitten
137 build by default 4677f37366 tests: Move build-by-default unit test to common tests 7 vuotta sitten
138 include order db199b06e6 Add a test for the custom target incdirs change 7 vuotta sitten
139 override options b48daeda1a Make it possible to only do unity builds on subprojects. 7 vuotta sitten
14 cpp pch 7e6d8454a4 Precompiled headers work for C++. 11 vuotta sitten
140 get define b56450f9b2 tests: Add haiku to get define test 6 vuotta sitten
141 c cpp and asm 4b3eaf1b66 Tag functions in asm properly. Thanks to Matthias Klose for debugging the issue. 7 vuotta sitten
142 compute int 578c3b6b6a Renamed tests with the same number. 7 vuotta sitten
143 custom target object output 578c3b6b6a Renamed tests with the same number. 7 vuotta sitten
144 empty build file c80ca384b2 Don't crash if a meson.build file is empty (#1570) 7 vuotta sitten
145 whole archive 040fa07e36 tests/common/145: Move each target into its own subdir 7 vuotta sitten
146 C and CPP link d5003c2190 Consider compilers used in static_library parents 7 vuotta sitten
147 mesonintrospect from scripts bb25260f00 flake8: Perform suggested whitespace/formatting changes 7 vuotta sitten
148 custom target multiple outputs faf0ce96e2 Rename tests with duplicate numbers. 7 vuotta sitten
149 special characters abd02b3eae Add test case for ninja quoting. 7 vuotta sitten
15 mixed pch 45d5195494 Mixed mode pch works again. 11 vuotta sitten
150 nested links 410937c08e Flatten SharedLibary link_args. 7 vuotta sitten
151 list of file sources c03744cccb Allow passing a list of Files to CustomTarget. Closes #1720 7 vuotta sitten
152 link depends custom target 197594146c Add a test for link_depends using a custom target 7 vuotta sitten
153 recursive linking b3d048e93a CompilerArgs: Put start/end-group around shared libs too 7 vuotta sitten
154 library at root 1d7c7a7ea6 Add a test case for a "library at project root" use case. 7 vuotta sitten
155 simd cad6bf32f1 Can pass all target kwargs through to SIMD invocations. Closes #2151. 7 vuotta sitten
156 shared module resolving symbol in executable 8c39007e41 Renamed test dirs to remove duplicated numbers. 7 vuotta sitten
157 configure file in test ece4ce8872 Fix test() accepting configure files for exe 7 vuotta sitten
158 dotinclude 58bd1e83b4 Renamed test dir to avoid duplicate numbers. 7 vuotta sitten
159 reserved targets 5068f13a28 tests/common/159: Don't try to run 'echo' 7 vuotta sitten
16 configure file 91a0126590 Improve escaping in configuration files 6 vuotta sitten
160 duplicate source names c09586462c Add variables to test to prove linkage is correct. 7 vuotta sitten
161 index customtarget dda5e8cadb Allow CustomTarget's to be indexed 7 vuotta sitten
162 wrap file should not failed 004cc1493b Add a bunch of tests to sandboxing. 7 vuotta sitten
163 includedir subproj a176588151 fix include_directories handling in subprojects for compiler tests. 6 vuotta sitten
164 subproject dir name collision eba6972306 Renamed test dir to avoid number duplicates. 6 vuotta sitten
165 config tool variable f818e9df58 Add a configtool_variable method to dependency 6 vuotta sitten
166 custom target subdir depend files 521933357d Fix path for str arguments to depend_files 6 vuotta sitten
167 external program shebang parsing 1223872513 tests/common/167: Port test interpreter to Windows 6 vuotta sitten
168 disabler 678daad6cc Created a new disabler type. 6 vuotta sitten
169 array option 3d63f21b60 Fix `array` type name 6 vuotta sitten
17 if a16bea5938 More variable introspection. 9 vuotta sitten
170 custom target template substitution 6d03111638 Minor fixes. 6 vuotta sitten
171 not-found dependency 87e6201214 Document and improve not-found dependency objects 6 vuotta sitten
172 subdir if_found e2afaf40c0 Fix duplicated test case 168 6 vuotta sitten
173 preserve gendir b949c4792d Preserve_path_from should be a kwarg of process(), not generator(). 6 vuotta sitten
18 else d4284aae89 Renamed add_test to test. 11 vuotta sitten
19 comparison b36513a5b6 Only allow equality comparisons for non-elementary types. 7 vuotta sitten
2 cpp 731aca216e icc: Fix C/C++ std options and add a unit test for them 7 vuotta sitten
20 array d4284aae89 Renamed add_test to test. 11 vuotta sitten
21 includedir cf6a395014 Spell out include_directories. 10 vuotta sitten
22 header in file list b603aba3ec Add tests for target and custom_target rebuild 7 vuotta sitten
23 global arg 69d07fe75a add_{project,global}_arguments: support language list 7 vuotta sitten
24 target arg 246d9f4564 test24: check that a target extra_arg is not applied to other targets 8 vuotta sitten
25 object extraction f024114c29 tests/common/25: Remove spaces in exe name 7 vuotta sitten
26 endian 463d08d545 Now host_machine, build_machine and target_machine are properly separated and return correct values. 9 vuotta sitten
27 library versions 0640fe0215 Add test for usage of generated File sources in libraries 8 vuotta sitten
28 config subdir cf6a395014 Spell out include_directories. 10 vuotta sitten
29 pipeline c02a175d52 Add depfile support to generators. 8 vuotta sitten
3 static a14eba27a9 ninja: Delete output static lib before calling `ar` 7 vuotta sitten
30 pipeline d400524781 Fix a few resource leaks in a fit of OCD. 10 vuotta sitten
31 find program 0250b2cce6 Can give many alternative names to find_program to simplify searching. 7 vuotta sitten
32 multiline string d53c00db13 Yo dawg, can embed quoted single quotes inside quotes. 9 vuotta sitten
33 try compile ae5a362950 tests/common: Run compiler checks for both C & C++ 7 vuotta sitten
34 compiler id bf62937711 Can extract compiler ID string. 11 vuotta sitten
35 sizeof ae5a362950 tests/common: Run compiler checks for both C & C++ 7 vuotta sitten
36 define10 52b69b8939 Make sure that build and source subdirectories are always in search 9 vuotta sitten
37 has header 4ef4a659f2 Fix test cases/common/37 on Cygwin 7 vuotta sitten
38 run program 6f2b29e0f7 Can use files() in run_command. 8 vuotta sitten
39 tryrun ae5a362950 tests/common: Run compiler checks for both C & C++ 7 vuotta sitten
4 shared 7606b7af8c Some minor tweaks. 11 vuotta sitten
40 logic ops 1efab9b5a9 fix logic operations 7 vuotta sitten
41 elif 6a17d6994d Cleaner, simpler elif. 11 vuotta sitten
42 string operations 312bc2ca81 Fix string format recursive replace 6 vuotta sitten
43 has function e084a47a0a compilers: Don't run built-in checks on MSVC 7 vuotta sitten
44 has member ae5a362950 tests/common: Run compiler checks for both C & C++ 7 vuotta sitten
45 alignment ae5a362950 tests/common: Run compiler checks for both C & C++ 7 vuotta sitten
46 library chain 45c8557dc6 Fix tests for the new library/executable naming scheme 8 vuotta sitten
47 options f8a419b27d String arguments can permit arbitrary string values 6 vuotta sitten
48 test args 4a9c31025c tests/common/48: Don't read newline 7 vuotta sitten
49 subproject 45c8557dc6 Fix tests for the new library/executable naming scheme 8 vuotta sitten
5 linkstatic f3bb6bb227 Add a unit test to ensure object file order 8 vuotta sitten
50 subproject options ed1732d9c4 fix test error message 8 vuotta sitten
51 pkgconfig-gen 7ed19902be pkgconfig: add suppport for custom variables during generation 7 vuotta sitten
52 custom install dirs 3a593d0aca Always obey DESTDIR even with absolute install_dir. 8 vuotta sitten
53 subproject subproject b6cb7fd29e Fix symbol exportation and other things to make all tests pass on MSVC. 9 vuotta sitten
54 same file name 8e29f2b160 Can have multiple source files with the same name in one target. 10 vuotta sitten
55 file grabber 78739afd9c Use system() instead of name() which is a confusing term. 9 vuotta sitten
56 custom target 15b6915954 custom_target: Recursively flatten `command:` 7 vuotta sitten
57 custom target chain 0a2daf84eb No longer require a binary called python3 on Windows. The default name is "python". 7 vuotta sitten
58 run target 67f0a1a44d Fix run_target() accepting ConfigureFile for command 7 vuotta sitten
59 object generator 0a2daf84eb No longer require a binary called python3 on Windows. The default name is "python". 7 vuotta sitten
6 linkshared 45c8557dc6 Fix tests for the new library/executable naming scheme 8 vuotta sitten
60 install script 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
61 custom target source output 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
62 exe static shared 408686a31d Fix 62 exe static shared on MSVC 7 vuotta sitten
63 array methods 9e7009bf23 Added array methods. 10 vuotta sitten
64 custom header generator b603aba3ec Add tests for target and custom_target rebuild 7 vuotta sitten
65 multiple generators 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
66 install subdir 49f8d28ef5 spelling: overridden 6 vuotta sitten
67 foreach 0e078adf5a interpreter: Implement array.get(index, fallback) 7 vuotta sitten
68 number arithmetic 7771d267f5 spelling: precedence 6 vuotta sitten
69 string arithmetic f5b016008f Test fixing. 9 vuotta sitten
7 mixed 89aa4e2233 C++ is now called cpp rather than cxx. 11 vuotta sitten
70 array arithmetic 702148aea5 Add number, string and array arithmetic 9 vuotta sitten
71 arithmetic bidmas 1d708d14f7 spelling: arithmetic 6 vuotta sitten
72 build always 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
73 vcstag 7a3be163cb Default to project_version() in vcs_tag fallback 7 vuotta sitten
74 modules ec491e200b A very simple module implementation to get things going. 9 vuotta sitten
75 should fail d289887b1b Add should_fail kwarg to test to indicate tests that should fail. 9 vuotta sitten
76 configure file in custom target 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
77 external test program 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
78 ctarget dependency 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
79 shared subproject b6cb7fd29e Fix symbol exportation and other things to make all tests pass on MSVC. 9 vuotta sitten
8 install a2344d5aa6 Test that the 'libdir' project() option works 8 vuotta sitten
80 shared subproject 2 b6cb7fd29e Fix symbol exportation and other things to make all tests pass on MSVC. 9 vuotta sitten
81 file object c78f8c9945 Renamed file function to files and made it take multiple arguments. 9 vuotta sitten
82 custom subproject dir b6cb7fd29e Fix symbol exportation and other things to make all tests pass on MSVC. 9 vuotta sitten
83 has type ae5a362950 tests/common: Run compiler checks for both C & C++ 7 vuotta sitten
84 extract from nested subdir 57ce7d4618 Add support for extracting objects in unity builds 8 vuotta sitten
85 internal dependency 6d744b13ff Now can create internal dependencies to simplify subproject usage. 9 vuotta sitten
86 same basename a9da6c5132 Moved targets with same name into subdirs to make all tests pass. 8 vuotta sitten
87 declare dep b3c70f495b interpreter: Always flatten when unholding arrays 7 vuotta sitten
88 extract all 0e508bf818 Added a extract_all_objects method to make recombining targets easier. Fixes #205. 9 vuotta sitten
89 add language 8cd3c8124a Can add languages only if they are available. Closes #365. 8 vuotta sitten
9 header install ee3010e767 Don't require a language/compiler for configuring 7 vuotta sitten
90 identical target name in subproject 02bea7d5bf namespace run_targets by subproject 6 vuotta sitten
91 plusassign fcbd60c291 Add += support for strings and integers 8 vuotta sitten
92 skip subdir e29e4358e6 Use makedirs instead of mkdir. Closes #247. 9 vuotta sitten
93 private include 0e6045864c tests: Use #!/usr/bin/env python3 for all scripts 7 vuotta sitten
94 default options 82057ccd55 Add unit tests related to absolute prefixes 7 vuotta sitten
95 dep fallback 98e71e1e65 Allow not-required not-found dependencies in subprojects 7 vuotta sitten
96 default library eceedc0d29 Declare buildtype and platform only once. 9 vuotta sitten
97 selfbuilt custom 3fc67f4951 Minimal fixes to make tests pass when cross compiling. 7 vuotta sitten
98 gen extra 68275b32e8 Implement capture for generators 7 vuotta sitten
99 benchmark 7cad8a1bfb Fixed some tests for new stricter options and OSX. 8 vuotta sitten