.. |
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
|
ec47db6c0c
Add Compiler.has_multi_arguments method.
|
7 лет назад |
113 generatorcustom
|
59984f5014
do not skip test case 113 on Windows
|
7 лет назад |
114 multiple dir configure file
|
88aafd363e
Normalize the path of a configured file to avoid dupes (#640)
|
8 лет назад |
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
|
7d6f628ed4
Support file perms for install_data and install_subdir
|
7 лет назад |
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
|
16ad550872
Fix test cases/common/125 on Cygwin
|
7 лет назад |
126 llvm ir and assembly
|
ccde05f0ac
Tag functions in asm properly.
|
7 лет назад |
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
|
e967e5eb4b
At last! MSVC precompiles headers and can use them.
|
11 лет назад |
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
|
2f5943d34d
Add a new test for depfile generation with spaces
|
7 лет назад |
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
|
8a2699acd0
Fix test cases/common/135 on Cygwin
|
7 лет назад |
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
|
4677f37366
tests: Move build-by-default unit test to common tests
|
7 лет назад |
138 include order
|
8482286236
Test whether internal-dep include order is preserved
|
7 лет назад |
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
|
2b8196a1c8
tests/common/140: Add a test for PR #1738
|
7 лет назад |
141 c cpp and asm
|
4b3eaf1b66
Tag functions in asm properly. Thanks to Matthias Klose for debugging the issue.
|
7 лет назад |
142 compute int
|
578c3b6b6a
Renamed tests with the same number.
|
7 лет назад |
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
|
a718f1a334
Skip test on VS earlier than 2015.
|
7 лет назад |
146 C and CPP link
|
6d939c6737
Consider link_whole_targets when determining linker
|
7 лет назад |
147 mesonintrospect from scripts
|
faf0ce96e2
Rename tests with duplicate numbers.
|
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
|
45d5195494
Mixed mode pch works again.
|
11 лет назад |
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
|
fc23d9d0f2
Turned SIMD into an unstable module.
|
7 лет назад |
156 shared module resolving symbol in executable
|
8c39007e41
Renamed test dirs to remove duplicated numbers.
|
7 лет назад |
157 configure file in test
|
ece4ce8872
Fix test() accepting configure files for exe
|
7 лет назад |
16 configure file
|
61ac9a5348
add tests for `capture` in `configure_file()`
|
7 лет назад |
17 if
|
a16bea5938
More variable introspection.
|
9 лет назад |
18 else
|
d4284aae89
Renamed add_test to test.
|
11 лет назад |
19 comparison
|
b36513a5b6
Only allow equality comparisons for non-elementary types.
|
7 лет назад |
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 лет назад |
21 includedir
|
cf6a395014
Spell out include_directories.
|
10 лет назад |
22 header in file list
|
b603aba3ec
Add tests for target and custom_target rebuild
|
7 лет назад |
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
|
0640fe0215
Add test for usage of generated File sources in libraries
|
8 лет назад |
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
|
d53c00db13
Yo dawg, can embed quoted single quotes inside quotes.
|
9 лет назад |
33 try compile
|
ae5a362950
tests/common: Run compiler checks for both C & C++
|
7 лет назад |
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
|
6f2b29e0f7
Can use files() in run_command.
|
8 лет назад |
39 tryrun
|
ae5a362950
tests/common: Run compiler checks for both C & C++
|
7 лет назад |
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
|
b5013a573a
Added semantic versioning comparison method to strings.
|
8 лет назад |
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
|
fd653d070d
Make base options accessible via get_option()
|
7 лет назад |
48 test args
|
0e6045864c
tests: Use #!/usr/bin/env python3 for all scripts
|
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
|
7ed19902be
pkgconfig: add suppport for custom variables during generation
|
7 лет назад |
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
|
67f0a1a44d
Fix run_target() accepting ConfigureFile for command
|
7 лет назад |
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
|
b603aba3ec
Add tests for target and custom_target rebuild
|
7 лет назад |
65 multiple generators
|
0e6045864c
tests: Use #!/usr/bin/env python3 for all scripts
|
7 лет назад |
66 install subdir
|
7d6f628ed4
Support file perms for install_data and install_subdir
|
7 лет назад |
67 foreach
|
0e078adf5a
interpreter: Implement array.get(index, fallback)
|
7 лет назад |
68 number arithmetic
|
5fec1620d2
Add more test cases for is_even/is_odd methods
|
8 лет назад |
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
|
702148aea5
Add number, string and array arithmetic
|
9 лет назад |
72 build always
|
0e6045864c
tests: Use #!/usr/bin/env python3 for all scripts
|
7 лет назад |
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
|
0e6045864c
tests: Use #!/usr/bin/env python3 for all scripts
|
7 лет назад |
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
|
3bb3c9ce52
declare_dependency: flatten dependencies kwargs allowing [] as no-op dep
|
7 лет назад |
88 extract all
|
0e508bf818
Added a extract_all_objects method to make recombining targets easier. Fixes #205.
|
9 лет назад |
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
|
05d929d542
Fix introspection and make it possible to have top level targets with the same name in subprojects. Fixes #222.
|
9 лет назад |
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
|
0e6045864c
tests: Use #!/usr/bin/env python3 for all scripts
|
7 лет назад |
99 benchmark
|
7cad8a1bfb
Fixed some tests for new stricter options and OSX.
|
8 лет назад |