..
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 tests for warnings in configure_file()
6 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
Don't require an import library for shared modules
6 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
Add missing method on external library object: type_name() ( #3845 )
6 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 dotinclude
Condense test dirs.
6 years ago
158 reserved targets
Condense test dirs.
6 years ago
159 duplicate source names
Condense test dirs.
6 years ago
160 index customtarget
Condense test dirs.
6 years ago
161 wrap file should not failed
Condense test dirs.
6 years ago
162 includedir subproj
Condense test dirs.
6 years ago
163 subproject dir name collision
Condense test dirs.
6 years ago
164 config tool variable
Condense test dirs.
6 years ago
165 custom target subdir depend files
Condense test dirs.
6 years ago
166 external program shebang parsing
Condense test dirs.
6 years ago
167 disabler
Condense test dirs.
6 years ago
168 array option
Condense test dirs.
6 years ago
169 custom target template substitution
Condense test dirs.
6 years ago
170 not-found dependency
Condense test dirs.
6 years ago
171 subdir if_found
Condense test dirs.
6 years ago
172 default options prefix dependent defaults
Condense test dirs.
6 years ago
173 dependency factory
Condense test dirs.
6 years ago
174 get project license
Condense test dirs.
6 years ago
175 yield
Condense test dirs.
6 years ago
176 subproject nested subproject dirs
Don't check version for fallback not-found dependency
6 years ago
177 preserve gendir
Condense test dirs.
6 years ago
178 source in dep
Condense test dirs.
6 years ago
179 generator link whole
Condense test dirs.
6 years ago
180 initial c_args
Condense test dirs.
6 years ago
181 identical target name in subproject flat layout
Condense test dirs.
6 years ago
182 as-needed
Condense test dirs.
6 years ago
183 ndebug if-release enabled
Condense test dirs.
6 years ago
184 ndebug if-release disabled
Condense test dirs.
6 years ago
185 subproject version
Condense test dirs.
6 years ago
186 subdir_done
Condense test dirs.
6 years ago
187 bothlibraries
Condense test dirs.
6 years ago
188 escape and unicode
Condense test dirs.
6 years ago
189 has link arg
Condense test dirs.
6 years ago
190 same target name flat layout
Condense test dirs.
6 years ago
191 find override
Condense test dirs.
6 years ago
192 partial dependency
Condense test dirs.
6 years ago
193 openmp
Condense test dirs.
6 years ago
194 same target name
Condense test dirs.
6 years ago
195 test depends
Condense test dirs.
6 years ago
196 args flattening
Condense test dirs.
6 years ago
197 dict
Condense test dirs.
6 years ago
198 check header
Condense test dirs.
6 years ago
199 install_mode
Condense test dirs.
6 years ago
200 subproject array version
Condense test dirs.
6 years ago
201 feature option
Condense test dirs.
6 years ago
202 feature option disabled
Condense test dirs.
6 years ago
203 static threads
Condense test dirs.
6 years ago
205 generator in subdir
Fix @CURRENT_SOURCE_DIR@ in generator()
6 years ago