..
1 trivial
icc: Fix C/C++ std options and add a unit test for them
8 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
…
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
…
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
Fix installing manpages from subdirs.
9 years ago
11 subdir
…
12 data
Support file perms for install_data and install_subdir
8 years ago
13 pch
…
14 cpp pch
…
15 mixed pch
…
16 configure file
Enable File() objects as an input parameter to configure_file
8 years ago
17 if
…
18 else
…
19 comparison
Only allow equality comparisons for non-elementary types.
8 years ago
20 array
…
21 includedir
…
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
…
27 library versions
Add test for usage of generated File sources in libraries
9 years ago
28 config subdir
…
29 pipeline
Add depfile support to generators.
8 years ago
30 pipeline
…
31 find program
Can give many alternative names to find_program to simplify searching.
8 years ago
32 multiline string
…
33 try compile
tests/common: Run compiler checks for both C & C++
8 years ago
34 compiler id
…
35 sizeof
tests/common: Run compiler checks for both C & C++
8 years ago
36 define10
…
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
…
42 string operations
Added semantic versioning comparison method to strings.
9 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
…
48 test args
tests: Use #!/usr/bin/env python3 for all scripts
8 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: add suppport for custom variables during generation
8 years ago
52 custom install dirs
Always obey DESTDIR even with absolute install_dir.
8 years ago
53 subproject subproject
…
54 same file name
…
55 file grabber
…
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
tests: Use #!/usr/bin/env python3 for all scripts
8 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
…
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
Support file perms for install_data and install_subdir
8 years ago
67 foreach
interpreter: Implement array.get(index, fallback)
8 years ago
68 number arithmetic
Add more test cases for is_even/is_odd methods
8 years ago
69 string arithmetic
…
70 array arithmetic
…
71 arithmetic bidmas
…
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
…
75 should fail
…
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
…
80 shared subproject 2
…
81 file object
…
82 custom subproject dir
…
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
…
86 same basename
Moved targets with same name into subdirs to make all tests pass.
8 years ago
87 declare dep
declare_dependency: flatten dependencies kwargs allowing [] as no-op dep
8 years ago
88 extract all
…
89 add language
Can add languages only if they are available. Closes #365 .
9 years ago
90 identical target name in subproject
…
91 plusassign
Add += support for strings and integers
9 years ago
92 skip subdir
…
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
…
97 selfbuilt custom
Minimal fixes to make tests pass when cross compiling.
8 years ago
98 gen extra
tests: Use #!/usr/bin/env python3 for all scripts
8 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
Minimal fixes to make tests pass when cross compiling.
8 years ago
112 has arg
Add Compiler.has_multi_arguments method.
8 years ago
113 generatorcustom
do not skip test case 113 on Windows
8 years ago
114 multiple dir configure file
Normalize the path of a configured file to avoid dupes ( #640 )
8 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
Fix test cases/common/125 on Cygwin
8 years ago
126 llvm ir and assembly
Cygwin uses the msabi calling convention on x86_64
8 years ago
127 cpp and asm
tests/common/127: Fix test on MinGW 64-bit
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
Fix test cases/common/135 on Cygwin
8 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
Test whether internal-dep include order is preserved
8 years ago
139 override options
Make it possible to only do unity builds on subprojects.
8 years ago
140 get define
tests/common/140: Add a test for PR #1738
8 years ago
141 c cpp and asm
tests/common/141: Fix build on mingw64
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
Skip test on VS earlier than 2015.
8 years ago
146 C and CPP link
tests/common/146: Also test against external C++ libs
8 years ago
147 mesonintrospect from scripts
Rename tests with duplicate numbers.
8 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
Don't add dependencies recursively while linking
8 years ago