.. |
1 trivial
|
670d0ed929
Print output of failed tests. Closes ##347.
|
8 years ago |
10 man install
|
16e032c289
Fix installing manpages from subdirs.
|
8 years ago |
100 test workdir
|
23c6de3461
Can specify a working directory for tests. Closes #326.
|
8 years ago |
101 suites
|
b3d61beb2d
A test can be part of multiple suites.
|
8 years ago |
102 threads
|
edaf663ee2
By default do not specify language version but instead use the compiler's default.
|
8 years ago |
103 manygen
|
b289547971
Force clang to error out on unknown arguments. Closes #755.
|
8 years ago |
104 stringdef
|
6830f3e147
Forbid backslashes on compiler command lines. It is unfortunately the only reliable way.
|
8 years ago |
105 find program path
|
e96359df70
Only support Python 3.
|
8 years ago |
106 subproject subdir
|
6de2fd6ab5
vs2010: fix target_to_build_root method
|
8 years ago |
107 postconf
|
aec1e88c21
Use context manager in test cases.
|
8 years ago |
108 postconf with args
|
aec1e88c21
Use context manager in test cases.
|
8 years ago |
109 testframework options
|
5482a23936
enhance test framework to read meson arguments from a file per test
|
8 years ago |
11 subdir
|
9262fe600a
Split test suite into common and platform dependent parts.
|
11 years ago |
110 extract same name
|
3de7c34714
add test for extracting two objects with the same source file name
|
8 years ago |
111 has header symbol
|
700010e452
New API: cc.has_header_symbol to check if a header defines a specific symbol
|
8 years ago |
112 has arg
|
d4adf0983b
Add special casing for VS which ignores unknown arguments.
|
8 years ago |
113 generatorcustom
|
aec1e88c21
Use context manager in test cases.
|
8 years ago |
114 multiple dir configure file
|
88aafd363e
Normalize the path of a configured file to avoid dupes (#640)
|
8 years ago |
115 spaces backslash
|
d8b9b12adb
Ninja now supports backslash in command args, so we can too
|
8 years ago |
116 ternary
|
d90fcb4048
Created ternary operator. Closes #538.
|
8 years ago |
117 custom target capture
|
f2df5f5567
Indent fix.
|
8 years ago |
118 allgenerate
|
7fdea0243d
Split generator @BASENAME@ at the first extension.
|
8 years ago |
12 data
|
48e678db76
Strip leading source tree dir name from install files if it exists.
|
8 years ago |
13 pch
|
e967e5eb4b
At last! MSVC precompiles headers and can use them.
|
11 years ago |
14 cpp pch
|
7e6d8454a4
Precompiled headers work for C++.
|
11 years ago |
15 mixed pch
|
45d5195494
Mixed mode pch works again.
|
11 years ago |
16 configure file
|
3aebdb717a
configuration_data: can pass descriptions to setters (#783)
|
8 years ago |
17 if
|
a16bea5938
More variable introspection.
|
9 years ago |
18 else
|
d4284aae89
Renamed add_test to test.
|
11 years ago |
19 comparison
|
d4284aae89
Renamed add_test to test.
|
11 years ago |
2 cpp
|
77e9a24589
Can specify extra files that show up in IDEs as parts of a target.
|
10 years ago |
20 array
|
d4284aae89
Renamed add_test to test.
|
11 years ago |
21 includedir
|
cf6a395014
Spell out include_directories.
|
10 years ago |
22 header in file list
|
d4284aae89
Renamed add_test to test.
|
11 years ago |
23 global arg
|
89aa4e2233
C++ is now called cpp rather than cxx.
|
11 years ago |
24 target arg
|
246d9f4564
test24: check that a target extra_arg is not applied to other targets
|
8 years ago |
25 object extraction
|
ff51f2196f
Make extract_objects work with subdirectories.
|
9 years ago |
26 endian
|
463d08d545
Now host_machine, build_machine and target_machine are properly separated and return correct values.
|
9 years ago |
27 library versions
|
0640fe0215
Add test for usage of generated File sources in libraries
|
8 years ago |
28 config subdir
|
cf6a395014
Spell out include_directories.
|
10 years ago |
29 pipeline
|
c02a175d52
Add depfile support to generators.
|
8 years ago |
3 static
|
c75b75d487
Do not use linker arguments on static libraries.
|
8 years ago |
30 pipeline
|
d400524781
Fix a few resource leaks in a fit of OCD.
|
10 years ago |
31 find program
|
78739afd9c
Use system() instead of name() which is a confusing term.
|
9 years ago |
32 multiline string
|
d53c00db13
Yo dawg, can embed quoted single quotes inside quotes.
|
9 years ago |
33 try compile
|
df9d1bcbfc
Simpler name.
|
11 years ago |
34 compiler id
|
bf62937711
Can extract compiler ID string.
|
11 years ago |
35 sizeof
|
52b69b8939
Make sure that build and source subdirectories are always in search
|
9 years ago |
36 define10
|
52b69b8939
Make sure that build and source subdirectories are always in search
|
9 years ago |
37 has header
|
2fdc7c7dbc
Added has_header method.
|
11 years ago |
38 run program
|
6f2b29e0f7
Can use files() in run_command.
|
8 years ago |
39 tryrun
|
24ea586d1e
More introspection.
|
11 years ago |
4 shared
|
7606b7af8c
Some minor tweaks.
|
11 years ago |
40 logic ops
|
1a8d830e05
Can chain multiple logical operations in a row.
|
10 years ago |
41 elif
|
6a17d6994d
Cleaner, simpler elif.
|
11 years ago |
42 string operations
|
b5013a573a
Added semantic versioning comparison method to strings.
|
8 years ago |
43 has function
|
7aa24c7d0a
compilers: Fix header stub change that broke has_function checks on Windows (#559)
|
8 years ago |
44 has member
|
7830cb61c3
Add a new compiler object method: has_members (#723)
|
8 years ago |
45 alignment
|
78d31cafd7
Looser alignment checks. Closes #58.
|
9 years ago |
46 library chain
|
45c8557dc6
Fix tests for the new library/executable naming scheme
|
8 years ago |
47 options
|
47bea98298
Allow getting builtin options with get_option. Fixes #23.
|
9 years ago |
48 test args
|
a2e7ebc575
Add a new 'environment' object to be used to build test environment (#781)
|
8 years ago |
49 subproject
|
45c8557dc6
Fix tests for the new library/executable naming scheme
|
8 years ago |
5 linkstatic
|
9c9ab25190
Created a build_target function to set build target type dynamically.
|
9 years ago |
50 subproject options
|
ed1732d9c4
fix test error message
|
8 years ago |
51 pkgconfig-gen
|
45c8557dc6
Fix tests for the new library/executable naming scheme
|
8 years ago |
52 custom install dirs
|
3a593d0aca
Always obey DESTDIR even with absolute install_dir.
|
8 years ago |
53 subproject subproject
|
b6cb7fd29e
Fix symbol exportation and other things to make all tests pass on MSVC.
|
9 years ago |
54 same file name
|
8e29f2b160
Can have multiple source files with the same name in one target.
|
10 years ago |
55 file grabber
|
78739afd9c
Use system() instead of name() which is a confusing term.
|
9 years ago |
56 custom target
|
aec1e88c21
Use context manager in test cases.
|
8 years ago |
57 custom target chain
|
cdf0c4f1a9
Merge branch 'QuLogic-context-managers'
|
8 years ago |
58 run target
|
c970d656b1
All_args should always be a list. Closes #778.
|
8 years ago |
59 object generator
|
a29d9c2c33
vs: fix generators that use indexed output replacements (like @OUTPUT0@)
|
8 years ago |
6 linkshared
|
45c8557dc6
Fix tests for the new library/executable naming scheme
|
8 years ago |
60 install script
|
f8d7588372
test 60 install script: Don't install any files when using msvc
|
8 years ago |
61 custom target source output
|
aec1e88c21
Use context manager in test cases.
|
8 years ago |
62 exe static shared
|
b6cb7fd29e
Fix symbol exportation and other things to make all tests pass on MSVC.
|
9 years ago |
63 array methods
|
9e7009bf23
Added array methods.
|
10 years ago |
64 custom header generator
|
aec1e88c21
Use context manager in test cases.
|
8 years ago |
65 multiple generators
|
aec1e88c21
Use context manager in test cases.
|
8 years ago |
66 install subdir
|
0482635c12
Handle case of install_subdirring a subdir.
|
8 years ago |
67 foreach
|
45c8557dc6
Fix tests for the new library/executable naming scheme
|
8 years ago |
68 number arithmetic
|
5fec1620d2
Add more test cases for is_even/is_odd methods
|
8 years ago |
69 string arithmetic
|
f5b016008f
Test fixing.
|
9 years ago |
7 mixed
|
89aa4e2233
C++ is now called cpp rather than cxx.
|
11 years ago |
70 array arithmetic
|
702148aea5
Add number, string and array arithmetic
|
9 years ago |
71 arithmetic bidmas
|
702148aea5
Add number, string and array arithmetic
|
9 years ago |
72 build always
|
aec1e88c21
Use context manager in test cases.
|
8 years ago |
73 vcstag
|
5a0cd64f9a
fixed typo in filename
|
9 years ago |
74 modules
|
ec491e200b
A very simple module implementation to get things going.
|
9 years ago |
75 should fail
|
d289887b1b
Add should_fail kwarg to test to indicate tests that should fail.
|
9 years ago |
76 configure file in custom target
|
aec1e88c21
Use context manager in test cases.
|
8 years ago |
77 external test program
|
00ecf811e6
Add this thing I forgot.
|
9 years ago |
78 ctarget dependency
|
aec1e88c21
Use context manager in test cases.
|
8 years ago |
79 shared subproject
|
b6cb7fd29e
Fix symbol exportation and other things to make all tests pass on MSVC.
|
9 years ago |
8 install
|
a2344d5aa6
Test that the 'libdir' project() option works
|
8 years ago |
80 shared subproject 2
|
b6cb7fd29e
Fix symbol exportation and other things to make all tests pass on MSVC.
|
9 years ago |
81 file object
|
c78f8c9945
Renamed file function to files and made it take multiple arguments.
|
9 years ago |
82 custom subproject dir
|
b6cb7fd29e
Fix symbol exportation and other things to make all tests pass on MSVC.
|
9 years ago |
83 has type
|
46804d4fe6
add has_type method
|
9 years ago |
84 extract from nested subdir
|
8f27cd399e
Fixed broken subdir object extraction and moved tests.
|
9 years ago |
85 internal dependency
|
6d744b13ff
Now can create internal dependencies to simplify subproject usage.
|
9 years ago |
86 same basename
|
a9da6c5132
Moved targets with same name into subdirs to make all tests pass.
|
8 years ago |
87 declare dep
|
cff4e7d299
Can query version strings of dependencies.
|
8 years ago |
88 extract all
|
0e508bf818
Added a extract_all_objects method to make recombining targets easier. Fixes #205.
|
9 years ago |
89 add language
|
8cd3c8124a
Can add languages only if they are available. Closes #365.
|
8 years ago |
9 header install
|
73b8ff5341
Rework installation logic so we can go outside the install prefix.
|
9 years ago |
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 years ago |
91 plusassign
|
fcbd60c291
Add += support for strings and integers
|
8 years ago |
92 skip subdir
|
e29e4358e6
Use makedirs instead of mkdir. Closes #247.
|
9 years ago |
93 private include
|
aec1e88c21
Use context manager in test cases.
|
8 years ago |
94 default options
|
4eb13f6afd
tests/94 default options: Also test warning_level
|
8 years ago |
95 dep fallback
|
3be01a7e7b
Add a test for generated header deps of generated sources
|
8 years ago |
96 default library
|
eceedc0d29
Declare buildtype and platform only once.
|
9 years ago |
97 selfbuilt custom
|
16fa657304
Can use built exes in custom targets.
|
8 years ago |
98 gen extra
|
aec1e88c21
Use context manager in test cases.
|
8 years ago |
99 benchmark
|
7cad8a1bfb
Fixed some tests for new stricter options and OSX.
|
8 years ago |