..
1 trivial
Allow test to depend on executable target in cross build. ( #2007 )
7 years ago
2 cpp
icc: Fix C/C++ std options and add a unit test for them
8 years ago
3 static
ninja: Delete output static lib before calling `ar`
8 years ago
4 shared
Some minor tweaks.
12 years ago
5 linkstatic
Add a unit test to ensure object file order
8 years ago
6 linkshared
Fix tests for the new library/executable naming scheme
9 years ago
7 mixed
C++ is now called cpp rather than cxx.
12 years ago
8 install
Test that the 'libdir' project() option works
8 years ago
9 header install
Don't require a language/compiler for configuring
8 years ago
10 man install
Convert man inputs to Files so you can install_man the output of configure_file. Closes #2135 .
7 years ago
11 subdir
Split test suite into common and platform dependent parts.
12 years ago
12 data
Update default of install-umask to 022
7 years ago
13 pch
Skipping PCH unit test for lcc compiler
7 years ago
14 cpp pch
Precompiled headers work for C++.
12 years ago
15 mixed pch
tests/15 mixed pch: Add a test using only the headers
7 years ago
16 configure file
Add file encoding to configure_file
7 years ago
17 if
More variable introspection.
9 years ago
18 else
Renamed add_test to test.
12 years ago
19 comparison
Fix test cases/failing/52 inconsistent comparison
7 years ago
20 array
Renamed add_test to test.
12 years ago
21 includedir
Spell out include_directories.
10 years ago
22 header in file list
Fix syntax error in tests common/22, 64 and 132
7 years ago
23 global arg
add_{project,global}_arguments: support language list
8 years ago
24 target arg
test24: check that a target extra_arg is not applied to other targets
9 years ago
25 object extraction
tests/common/25: Remove spaces in exe name
8 years ago
26 endian
Now host_machine, build_machine and target_machine are properly separated and return correct values.
9 years ago
27 library versions
configure_file: Add a new action 'copy'
7 years ago
28 config subdir
Spell out include_directories.
10 years ago
29 pipeline
Add depfile support to generators.
8 years ago
30 pipeline
Fix a few resource leaks in a fit of OCD.
10 years ago
31 find program
Can give many alternative names to find_program to simplify searching.
8 years ago
32 multiline string
Add more tests for multi-line strings and update docs
7 years ago
33 try compile
Fix two test cases
7 years ago
34 compiler id
Can extract compiler ID string.
12 years ago
35 sizeof
tests/common: Run compiler checks for both C & C++
8 years ago
36 define10
Make sure that build and source subdirectories are always in search
10 years ago
37 has header
Fix test cases/common/37 on Cygwin
8 years ago
38 run program
run_command: Add new kwarg 'capture'
7 years ago
39 tryrun
Fix two test cases
7 years ago
40 logic ops
fix logic operations
8 years ago
41 elif
Cleaner, simpler elif.
12 years ago
42 string operations
Add more tests for multi-line strings and update docs
7 years ago
43 has function
compilers: Don't run built-in checks on MSVC
8 years ago
44 has member
tests/common: Run compiler checks for both C & C++
8 years ago
45 alignment
tests/common: Run compiler checks for both C & C++
8 years ago
46 library chain
Fix tests for the new library/executable naming scheme
9 years ago
47 options
Expose integer options to build option files.
7 years ago
48 test args
tests/common/48: Don't read newline
7 years ago
49 subproject
Fix tests for the new library/executable naming scheme
9 years ago
50 subproject options
fix test error message
9 years ago
51 pkgconfig-gen
Improve generation of pkg-config files for static only libraries.
7 years ago
52 custom install dirs
Always obey DESTDIR even with absolute install_dir.
8 years ago
53 subproject subproject
Fix symbol exportation and other things to make all tests pass on MSVC.
9 years ago
54 same file name
Can have multiple source files with the same name in one target.
11 years ago
55 file grabber
Use system() instead of name() which is a confusing term.
9 years ago
56 custom target
custom_target: Recursively flatten `command:`
8 years ago
57 custom target chain
No longer require a binary called python3 on Windows. The default name is "python".
8 years ago
58 run target
Removed two deprecations from 2016.
7 years ago
59 object generator
No longer require a binary called python3 on Windows. The default name is "python".
8 years ago
60 install script
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
61 custom target source output
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
62 exe static shared
Fix 62 exe static shared on MSVC
8 years ago
63 array methods
Added array methods.
10 years ago
64 custom header generator
Fix syntax error in tests common/22, 64 and 132
7 years ago
65 multiple generators
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
66 install subdir
Update default of install-umask to 022
7 years ago
67 foreach
interpreter: Implement array.get(index, fallback)
8 years ago
68 number arithmetic
Add support for octal and binary int literals.
7 years ago
69 string arithmetic
Test fixing.
10 years ago
70 array arithmetic
Add number, string and array arithmetic
10 years ago
71 arithmetic bidmas
spelling: arithmetic
7 years ago
72 build always
Use specific exception types instead of Exception
7 years ago
73 vcstag
Default to project_version() in vcs_tag fallback
8 years ago
74 modules
A very simple module implementation to get things going.
10 years ago
75 should fail
Add should_fail kwarg to test to indicate tests that should fail.
10 years ago
76 configure file in custom target
configure_file: Add a new action 'copy'
7 years ago
77 external test program
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
78 ctarget dependency
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
79 shared subproject
Fix symbol exportation and other things to make all tests pass on MSVC.
9 years ago
80 shared subproject 2
Fix symbol exportation and other things to make all tests pass on MSVC.
9 years ago
81 file object
Renamed file function to files and made it take multiple arguments.
10 years ago
82 custom subproject dir
Fix symbol exportation and other things to make all tests pass on MSVC.
9 years ago
83 has type
tests/common: Run compiler checks for both C & C++
8 years ago
84 extract from nested subdir
Add support for extracting objects in unity builds
8 years ago
85 internal dependency
Now can create internal dependencies to simplify subproject usage.
10 years ago
86 same basename
Moved targets with same name into subdirs to make all tests pass.
8 years ago
87 declare dep
interpreter: Always flatten when unholding arrays
7 years ago
88 extract all
extract_all_objects: Add 'recursive' keyword argument
7 years ago
89 add language
Can add languages only if they are available. Closes #365 .
9 years ago
90 identical target name in subproject
Removed two deprecations from 2016.
7 years ago
91 plusassign
Add += support for strings and integers
9 years ago
92 skip subdir
Use makedirs instead of mkdir. Closes #247 .
9 years ago
93 private include
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
94 default options
Add unit tests related to absolute prefixes
8 years ago
95 dep fallback
Allow not-required not-found dependencies in subprojects
8 years ago
96 default library
Declare buildtype and platform only once.
9 years ago
97 selfbuilt custom
Minimal fixes to make tests pass when cross compiling.
8 years ago
98 gen extra
Fix flake8 'imported but unused' reports
7 years ago
99 benchmark
Fixed some tests for new stricter options and OSX.
9 years ago
100 test workdir
Can specify a working directory for tests. Closes #326 .
9 years ago
101 suites
A test can be part of multiple suites.
9 years ago
102 threads
By default do not specify language version but instead use the compiler's default.
9 years ago
103 manygen
Use Python3 explicitly on this test because shutil.which does not exist on Python 2.
8 years ago
104 stringdef
Forbid backslashes on compiler command lines. It is unfortunately the only reliable way.
9 years ago
105 find program path
run_command: Refactor + improve errors and test
8 years ago
106 subproject subdir
vs2010: fix target_to_build_root method
9 years ago
107 postconf
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
108 postconf with args
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
109 testframework options
Make cross tests use same framework as regular tests.
8 years ago
110 extract same name
Add support for extracting objects in unity builds
8 years ago
111 has header symbol
Fix ppoll() test to work on non-glibc platforms
7 years ago
112 has arg
cc.has_multi_arguments: Convert all -Wno args
7 years ago
113 generatorcustom
do not skip test case 113 on Windows
8 years ago
114 multiple dir configure file
configure_file: Add a new action 'copy'
7 years ago
115 spaces backslash
Ninja now supports backslash in command args, so we can too
8 years ago
116 ternary
Created ternary operator. Closes #538 .
8 years ago
117 custom target capture
vs: Always use a wrapper for custom target commands
8 years ago
118 allgenerate
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
119 pathjoin
tests/common/119: Test array args to join_paths()
8 years ago
120 subdir subproject
Allow subproject declarations in subdirectories
8 years ago
121 interpreter copy mutable var on assignment
interpreter: copy mutable variables on assignment
8 years ago
122 skip
Make cross tests use same framework as regular tests.
8 years ago
123 subproject project arguments
add_project_arguments: allow call after subproject()
8 years ago
124 test skip
Support skipped tests
8 years ago
125 shared module
Add `export_dynamic` argument to `executable`. ( #2662 )
7 years ago
126 llvm ir and assembly
spelling: executable
7 years ago
127 cpp and asm
Tag functions in asm properly. Thanks to Matthias Klose for debugging the issue.
8 years ago
128 extract all shared library
Test extracting static objects into a shared library
8 years ago
129 object only target
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
130 no buildincdir
Only add build dir inlude directives if the corresponding dir exists. Closes #1185 .
8 years ago
131 custom target directory install
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
132 dependency file generation
Fix syntax error in tests common/22, 64 and 132
7 years ago
133 configure file in generator
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
134 generated llvm ir
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
135 generated assembly
tests: fix "135 generated assembly" test on NetBSD
7 years ago
136 build by default targets in tests
tests: build_by_default : false targets used in tests should be built
8 years ago
137 build by default
Don't let build_always take precedence over build_by_default ( #3816 )
7 years ago
138 include order
tests: add test to make sure include_directories() order is maintained
7 years ago
139 override options
Make it possible to only do unity builds on subprojects.
8 years ago
140 get define
Improve test case.
7 years ago
141 c cpp and asm
Tag functions in asm properly. Thanks to Matthias Klose for debugging the issue.
8 years ago
142 compute int
Remove arbitrary [-1024,1024] limit in cross_compute_int()
7 years ago
143 custom target object output
Renamed tests with the same number.
8 years ago
144 empty build file
Don't crash if a meson.build file is empty ( #1570 )
8 years ago
145 whole archive
Add declare_dependency() test for transitive link_whole
7 years ago
146 C and CPP link
Consider compilers used in static_library parents
7 years ago
147 mesonintrospect from scripts
flake8: Perform suggested whitespace/formatting changes
7 years ago
148 custom target multiple outputs
Rename tests with duplicate numbers.
8 years ago
149 special characters
Add test case for ninja quoting.
8 years ago
150 nested links
Flatten SharedLibary link_args.
8 years ago
151 list of file sources
Allow passing a list of Files to CustomTarget. Closes #1720
8 years ago
152 link depends custom target
Add a test for link_depends using a custom target
8 years ago
153 recursive linking
CompilerArgs: Put start/end-group around shared libs too
7 years ago
154 library at root
Add a test case for a "library at project root" use case.
8 years ago
155 simd
Can pass all target kwargs through to SIMD invocations. Closes #2151 .
7 years ago
156 shared module resolving symbol in executable
Add `export_dynamic` argument to `executable`. ( #2662 )
7 years ago
157 configure file in test
Fix test() accepting configure files for exe
7 years ago
158 dotinclude
Renamed test dir to avoid duplicate numbers.
7 years ago
159 reserved targets
tests/common/159: Don't try to run 'echo'
7 years ago
160 duplicate source names
Add variables to test to prove linkage is correct.
7 years ago
161 index customtarget
Allow custom_target do depend on indexed output of custom_target
7 years ago
162 wrap file should not failed
Add a bunch of tests to sandboxing.
7 years ago
163 includedir subproj
fix include_directories handling in subprojects for compiler tests.
7 years ago
164 subproject dir name collision
Renamed test dir to avoid number duplicates.
7 years ago
165 config tool variable
Add a configtool_variable method to dependency
7 years ago
166 custom target subdir depend files
Fix path for str arguments to depend_files
7 years ago
167 external program shebang parsing
tests/common/167: Port test interpreter to Windows
7 years ago
168 disabler
Fix unit test for Disabler()
7 years ago
169 array option
Fix `array` type name
7 years ago
170 custom target template substitution
Minor fixes.
7 years ago
171 not-found dependency
More tests to cover missing fallback for a non-found dependency
7 years ago
172 subdir if_found
Fix duplicated test case 168
7 years ago
173 default options prefix dependent defaults
Add a test of prefix-dependent defaults for project(default_options:)
7 years ago
174 dependency factory
FeatureNew: Make all checks subproject-specific
6 years ago
175 get project license
add meson.project_license() builtin
7 years ago
176 yield
User options can "yield to" a user option of the same name in superproject. Closes ##2853.
7 years ago
177 subproject nested subproject dirs
Add test for subprojects in subdirectories
7 years ago
178 preserve gendir
Renamed test dir with duplicate number.
7 years ago
179 source in dep
Add test case for generated headers used through a dependency.
7 years ago
180 generator link whole
Skip whole_archive test for VS older than 2015
7 years ago
181 initial c_args
Fix setting c_args and friends from command line
7 years ago
182 identical target name in subproject flat layout
Use target.get_id() instead of basename and type_suffix concatenation at call site
7 years ago
184 as-needed
Rename '183 as-needed' common test into '184 as-needed'
7 years ago
185 ndebug if-release enabled
Enable b_ndebug on VisualStudioCCompiler
7 years ago
186 ndebug if-release disabled
Enable b_ndebug on VisualStudioCCompiler
7 years ago
187 subproject version
dependency's wanted version might be a list
7 years ago
188 subdir_done
Interpreter: Fix subdir_done() to exit from inside if/foreach blocks
7 years ago
189 bothlibraries
Add both_libraries() to build both shared and static libraries
7 years ago
190 escape and unicode
Exit meson with an error if an invalid escape sequence is found in a
7 years ago
191 has link arg
has_multi_link_arguments: Some compilers needs -Wl,--fatal-warnings
7 years ago
192 same target name flat layout
Renamed test dirs so numbers are sequential.
7 years ago
193 find override
Renamed test dirs so numbers are sequential.
7 years ago
194 partial dependency
Renamed test dirs so numbers are sequential.
7 years ago
195 openmp
Renamed test dirs so numbers are sequential.
7 years ago
196 same target name
Rename common tests to remove numeric duplicates ( #3425 )
7 years ago
197 test depends
Rename common tests to remove numeric duplicates ( #3425 )
7 years ago
198 args flattening
args flattening: preserve configuration_data.set behaviour
7 years ago
199 dict
dict: address review comment I missed
7 years ago
200 check header
New compiler method: check_header
7 years ago
201 install_mode
Add test case for 'install_mode'
7 years ago
202 subproject array version
Add 'common/202 subproject array version' test
7 years ago
203 feature option
Add UserFeatureOption type
7 years ago
204 feature option disabled
Add UserFeatureOption type
7 years ago