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