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