..
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
Support file perms for install_data and install_subdir
8 years ago
13 pch
At last! MSVC precompiles headers and can use them.
12 years ago
14 cpp pch
Precompiled headers work for C++.
12 years ago
15 mixed pch
Mixed mode pch works again.
12 years ago
16 configure file
Improve escaping in configuration files
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
Add tests for target and custom_target rebuild
8 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
Add test for usage of generated File sources in libraries
9 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
Yo dawg, can embed quoted single quotes inside quotes.
10 years ago
33 try compile
tests/common: Run compiler checks for both C & C++
8 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
Can use files() in run_command.
8 years ago
39 tryrun
tests/common: Run compiler checks for both C & C++
8 years ago
40 logic ops
fix logic operations
8 years ago
41 elif
Cleaner, simpler elif.
12 years ago
42 string operations
Fix string format recursive replace
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
pkgconfig: Also ignore not found deps passed directly to pc generator
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
Add tests for target and custom_target rebuild
8 years ago
65 multiple generators
tests: Use #!/usr/bin/env python3 for all scripts
8 years ago
66 install subdir
Rename install_subdir() option elide_directory to strip_directory
7 years ago
67 foreach
interpreter: Implement array.get(index, fallback)
8 years ago
68 number arithmetic
Add support for hex 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
tests: Use #!/usr/bin/env python3 for all scripts
8 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
tests: Use #!/usr/bin/env python3 for all scripts
8 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
Added a extract_all_objects method to make recombining targets easier. Fixes #205 .
9 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
Implement capture for generators
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
Add Compiler.get_supported_arguments()
7 years ago
113 generatorcustom
do not skip test case 113 on Windows
8 years ago
114 multiple dir configure file
tests/common/144: Add a test for #1865
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
Add a new test for depfile generation with spaces
8 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
tests: Move build-by-default unit test to common tests
8 years ago
138 include order
Add a test for the custom target incdirs change
7 years ago
139 override options
Make it possible to only do unity builds on subprojects.
8 years ago
140 get define
Comparing objects of different type prints a warning. Closes #2870 .
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
Renamed tests with the same number.
8 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
tests/common/145: Move each target into its own subdir
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 CustomTarget's to be indexed
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
Created a new disabler type.
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
Fix a problem when anyone actually tries to use 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
Same for libwmf
7 years ago
174 preserve gendir
Fix a SideCI issue about an unused import in a unit test.
7 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