meson/test cases/common
Jussi Pakkanen 189784b474 Merge pull request #1792 from jon-turney/custom_target_vs_module_defs
Allow vs_module_defs to use a custom_target
2017-05-21 21:31:14 +03:00
..
1 trivial icc: Fix C/C++ std options and add a unit test for them 2017-01-04 00:40:54 +05:30
2 cpp icc: Fix C/C++ std options and add a unit test for them 2017-01-04 00:40:54 +05:30
3 static ninja: Delete output static lib before calling `ar` 2017-02-18 02:38:54 +05:30
4 shared Some minor tweaks. 2013-04-20 00:30:44 +03:00
5 linkstatic Add a unit test to ensure object file order 2016-10-25 14:36:47 +05:30
6 linkshared Fix tests for the new library/executable naming scheme 2016-07-01 20:50:47 +05:30
7 mixed C++ is now called cpp rather than cxx. 2013-06-02 22:31:10 +03:00
8 install Test that the 'libdir' project() option works 2016-07-27 14:46:24 +05:30
9 header install Don't require a language/compiler for configuring 2017-03-27 11:25:22 +05:30
10 man install Fix installing manpages from subdirs. 2016-05-30 20:26:31 +03:00
11 subdir Split test suite into common and platform dependent parts. 2013-03-03 20:05:04 +02:00
12 data Support file perms for install_data and install_subdir 2017-01-24 00:20:51 +05:30
13 pch At last! MSVC precompiles headers and can use them. 2013-06-15 02:10:47 +03:00
14 cpp pch Precompiled headers work for C++. 2013-06-15 02:40:53 +03:00
15 mixed pch Mixed mode pch works again. 2013-06-15 03:00:39 +03:00
16 configure file Enable File() objects as an input parameter to configure_file 2017-04-03 21:09:31 +02:00
17 if More variable introspection. 2015-10-14 19:10:22 +03:00
18 else Renamed add_test to test. 2013-06-02 13:18:15 +03:00
19 comparison Only allow equality comparisons for non-elementary types. 2017-05-17 21:48:04 -04:00
20 array Renamed add_test to test. 2013-06-02 13:18:15 +03:00
21 includedir Spell out include_directories. 2014-08-05 00:45:39 +03:00
22 header in file list Add tests for target and custom_target rebuild 2017-04-10 22:32:41 +05:30
23 global arg add_{project,global}_arguments: support language list 2017-04-06 23:49:26 +02:00
24 target arg test24: check that a target extra_arg is not applied to other targets 2016-03-13 14:49:08 +01:00
25 object extraction tests/common/25: Remove spaces in exe name 2017-01-04 00:40:54 +05:30
26 endian Now host_machine, build_machine and target_machine are properly separated and return correct values. 2015-07-27 00:55:27 +03:00
27 library versions Add test for usage of generated File sources in libraries 2016-07-01 20:50:47 +05:30
28 config subdir Spell out include_directories. 2014-08-05 00:45:39 +03:00
29 pipeline Add depfile support to generators. 2016-08-21 00:12:56 +03:00
30 pipeline Fix a few resource leaks in a fit of OCD. 2014-08-06 21:49:03 +03:00
31 find program Can give many alternative names to find_program to simplify searching. 2016-11-20 16:54:19 -05:00
32 multiline string Yo dawg, can embed quoted single quotes inside quotes. 2015-03-26 00:04:38 +02:00
33 try compile tests/common: Run compiler checks for both C & C++ 2016-11-08 16:05:32 +05:30
34 compiler id Can extract compiler ID string. 2013-04-22 00:51:25 +03:00
35 sizeof tests/common: Run compiler checks for both C & C++ 2016-11-08 16:05:32 +05:30
36 define10 Make sure that build and source subdirectories are always in search 2015-03-05 15:43:46 +02:00
37 has header Fix test cases/common/37 on Cygwin 2017-04-06 22:48:02 +01:00
38 run program Can use files() in run_command. 2016-09-08 21:51:48 +03:00
39 tryrun tests/common: Run compiler checks for both C & C++ 2016-11-08 16:05:32 +05:30
40 logic ops fix logic operations 2017-03-23 15:40:00 -04:00
41 elif Cleaner, simpler elif. 2013-07-27 17:58:17 +03:00
42 string operations Added semantic versioning comparison method to strings. 2016-05-29 02:59:24 +03:00
43 has function compilers: Don't run built-in checks on MSVC 2017-01-26 12:36:47 +05:30
44 has member tests/common: Run compiler checks for both C & C++ 2016-11-08 16:05:32 +05:30
45 alignment tests/common: Run compiler checks for both C & C++ 2016-11-08 16:05:32 +05:30
46 library chain Fix tests for the new library/executable naming scheme 2016-07-01 20:50:47 +05:30
47 options Allow getting builtin options with get_option. Fixes #23. 2014-11-16 18:30:38 +02:00
48 test args tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
49 subproject Fix tests for the new library/executable naming scheme 2016-07-01 20:50:47 +05:30
50 subproject options fix test error message 2016-03-03 22:41:20 +01:00
51 pkgconfig-gen pkgconfig: add suppport for custom variables during generation 2017-05-11 00:13:30 +03:00
52 custom install dirs Always obey DESTDIR even with absolute install_dir. 2016-08-27 23:07:59 -04:00
53 subproject subproject Fix symbol exportation and other things to make all tests pass on MSVC. 2015-07-28 00:28:47 +03:00
54 same file name Can have multiple source files with the same name in one target. 2014-02-24 22:00:37 +02:00
55 file grabber Use system() instead of name() which is a confusing term. 2015-08-16 23:32:39 +03:00
56 custom target custom_target: Recursively flatten `command:` 2017-02-17 15:42:12 -05:00
57 custom target chain No longer require a binary called python3 on Windows. The default name is "python". 2017-01-23 21:02:04 +02:00
58 run target tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
59 object generator No longer require a binary called python3 on Windows. The default name is "python". 2017-01-23 21:02:04 +02:00
60 install script tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
61 custom target source output tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
62 exe static shared Fix 62 exe static shared on MSVC 2016-11-10 00:40:16 +05:30
63 array methods Added array methods. 2014-09-18 19:04:29 +03:00
64 custom header generator Add tests for target and custom_target rebuild 2017-04-10 22:32:41 +05:30
65 multiple generators tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
66 install subdir Support file perms for install_data and install_subdir 2017-01-24 00:20:51 +05:30
67 foreach interpreter: Implement array.get(index, fallback) 2017-01-26 23:22:14 +02:00
68 number arithmetic Add more test cases for is_even/is_odd methods 2016-09-02 19:01:01 +01:00
69 string arithmetic Test fixing. 2014-11-16 20:10:27 +02:00
70 array arithmetic Add number, string and array arithmetic 2014-11-16 16:45:10 +00:00
71 arithmetic bidmas Add number, string and array arithmetic 2014-11-16 16:45:10 +00:00
72 build always tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
73 vcstag Default to project_version() in vcs_tag fallback 2017-05-05 08:11:28 +10:00
74 modules A very simple module implementation to get things going. 2015-03-04 23:53:35 +02:00
75 should fail Add should_fail kwarg to test to indicate tests that should fail. 2015-03-23 23:11:04 +02:00
76 configure file in custom target tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
77 external test program tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
78 ctarget dependency tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
79 shared subproject Fix symbol exportation and other things to make all tests pass on MSVC. 2015-07-28 00:28:47 +03:00
80 shared subproject 2 Fix symbol exportation and other things to make all tests pass on MSVC. 2015-07-28 00:28:47 +03:00
81 file object Renamed file function to files and made it take multiple arguments. 2015-05-02 15:47:03 +03:00
82 custom subproject dir Fix symbol exportation and other things to make all tests pass on MSVC. 2015-07-28 00:28:47 +03:00
83 has type tests/common: Run compiler checks for both C & C++ 2016-11-08 16:05:32 +05:30
84 extract from nested subdir Add support for extracting objects in unity builds 2016-10-21 08:00:39 +05:30
85 internal dependency Now can create internal dependencies to simplify subproject usage. 2015-06-15 00:26:19 +03:00
86 same basename Moved targets with same name into subdirs to make all tests pass. 2016-09-02 22:52:37 +03:00
87 declare dep declare_dependency: flatten dependencies kwargs allowing [] as no-op dep 2017-03-25 20:30:15 +02:00
88 extract all Added a extract_all_objects method to make recombining targets easier. Fixes #205. 2015-07-21 21:34:18 +03:00
89 add language Can add languages only if they are available. Closes #365. 2016-01-25 22:39:47 +02:00
90 identical target name in subproject Fix introspection and make it possible to have top level targets with the same name in subprojects. Fixes #222. 2015-08-12 14:04:41 +03:00
91 plusassign Add += support for strings and integers 2016-03-19 17:11:53 +00:00
92 skip subdir Use makedirs instead of mkdir. Closes #247. 2015-08-27 20:29:20 +03:00
93 private include tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
94 default options Add unit tests related to absolute prefixes 2017-02-18 02:37:32 +05:30
95 dep fallback Allow not-required not-found dependencies in subprojects 2017-03-27 22:02:06 +03:00
96 default library Declare buildtype and platform only once. 2015-11-06 22:59:51 +02:00
97 selfbuilt custom Minimal fixes to make tests pass when cross compiling. 2016-12-20 20:33:59 +02:00
98 gen extra tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
99 benchmark Fixed some tests for new stricter options and OSX. 2015-12-27 22:51:51 +02:00
100 test workdir Can specify a working directory for tests. Closes #326. 2015-12-08 15:45:51 +02:00
101 suites A test can be part of multiple suites. 2015-12-10 22:22:42 +02:00
102 threads By default do not specify language version but instead use the compiler's default. 2016-01-02 20:59:27 +02:00
103 manygen Use Python3 explicitly on this test because shutil.which does not exist on Python 2. 2017-01-25 21:34:54 +02:00
104 stringdef Forbid backslashes on compiler command lines. It is unfortunately the only reliable way. 2016-01-02 20:34:06 +02:00
105 find program path run_command: Refactor + improve errors and test 2017-05-07 01:56:47 +05:30
106 subproject subdir vs2010: fix target_to_build_root method 2016-02-24 00:40:14 +01:00
107 postconf tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
108 postconf with args tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
109 testframework options Make cross tests use same framework as regular tests. 2016-12-20 20:35:29 +02:00
110 extract same name Add support for extracting objects in unity builds 2016-10-21 08:00:39 +05:30
111 has header symbol Minimal fixes to make tests pass when cross compiling. 2016-12-20 20:33:59 +02:00
112 has arg Add Compiler.has_multi_arguments method. 2016-12-12 23:34:03 +02:00
113 generatorcustom do not skip test case 113 on Windows 2017-03-20 14:33:44 +01:00
114 multiple dir configure file Normalize the path of a configured file to avoid dupes (#640) 2016-07-19 20:10:57 +03:00
115 spaces backslash Ninja now supports backslash in command args, so we can too 2016-07-29 19:51:09 +05:30
116 ternary Created ternary operator. Closes #538. 2016-08-01 20:46:40 +03:00
117 custom target capture vs: Always use a wrapper for custom target commands 2017-03-23 16:38:03 -04:00
118 allgenerate tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
119 pathjoin tests/common/119: Test array args to join_paths() 2017-02-19 03:50:43 +05:30
120 subdir subproject Allow subproject declarations in subdirectories 2016-11-02 13:52:04 -07:00
121 interpreter copy mutable var on assignment interpreter: copy mutable variables on assignment 2016-11-05 16:56:02 +00:00
122 skip Make cross tests use same framework as regular tests. 2016-12-20 20:35:29 +02:00
123 subproject project arguments add_project_arguments: allow call after subproject() 2017-04-07 21:07:57 +02:00
124 test skip Support skipped tests 2016-11-29 13:13:29 -05:00
125 shared module Fix test cases/common/125 on Cygwin 2017-04-06 22:48:02 +01:00
126 llvm ir and assembly Cygwin uses the msabi calling convention on x86_64 2017-04-06 22:48:02 +01:00
127 cpp and asm tests/common/127: Fix test on MinGW 64-bit 2017-03-28 14:47:55 +05:30
128 extract all shared library Test extracting static objects into a shared library 2016-12-13 09:37:48 +05:30
129 object only target tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
130 no buildincdir Only add build dir inlude directives if the corresponding dir exists. Closes #1185. 2016-12-13 14:19:34 +02:00
131 custom target directory install tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
132 dependency file generation Add a new test for depfile generation with spaces 2017-01-04 00:40:54 +05:30
133 configure file in generator tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
134 generated llvm ir tests: Use #!/usr/bin/env python3 for all scripts 2017-02-26 07:52:49 -05:00
135 generated assembly Fix test cases/common/135 on Cygwin 2017-04-06 22:48:02 +01:00
136 build by default targets in tests tests: build_by_default : false targets used in tests should be built 2017-01-28 01:05:18 +05:30
137 build by default tests: Move build-by-default unit test to common tests 2017-01-28 01:05:19 +05:30
138 include order Test whether internal-dep include order is preserved 2017-03-23 08:28:23 +05:30
139 override options Make it possible to only do unity builds on subprojects. 2017-04-15 18:28:36 +03:00
140 get define tests/common/140: Add a test for PR #1738 2017-05-05 17:37:07 +05:30
141 c cpp and asm tests/common/141: Fix build on mingw64 2017-04-03 23:28:01 +03:00
142 compute int Renamed tests with the same number. 2017-04-05 00:40:52 +03:00
143 custom target object output Renamed tests with the same number. 2017-04-05 00:40:52 +03:00
144 empty build file Don't crash if a meson.build file is empty (#1570) 2017-04-07 00:10:48 +03:00
145 whole archive Skip test on VS earlier than 2015. 2017-04-08 22:14:09 +03:00
146 C and CPP link tests/common/146: Also test against external C++ libs 2017-04-22 01:00:07 +05:30
147 mesonintrospect from scripts Rename tests with duplicate numbers. 2017-04-29 21:40:37 -04:00
148 custom target multiple outputs Rename tests with duplicate numbers. 2017-04-29 21:40:37 -04:00
149 special characters Add test case for ninja quoting. 2017-05-05 17:23:34 -04:00
150 nested links Flatten SharedLibary link_args. 2017-05-11 16:59:59 -07:00
151 list of file sources Allow passing a list of Files to CustomTarget. Closes #1720 2017-05-11 09:57:38 -07:00
152 link depends custom target Add a test for link_depends using a custom target 2017-05-16 22:15:53 +01:00