meson/test cases/unit
Dylan Baker e079553959 interpreter: correctly track whether a subproject is initialized
The way the tracking is currently done it works if no new subprojects
are added to a configured build directory. For cases where we want to
add a new subproject, it fails because we don't initialize builtins for
that subproject. This corrects that by checking to see if the subproject
already exists, and if it doesn't initializes the bultins for it.

Fixes: #8421
2021-02-26 09:05:30 -08:00
..
1 soname Add an installed soname unit test 2016-12-22 01:32:02 +05:30
2 testsetups interpreter, mtest: introduce add_test_setup(exclude_suites: ...) 2021-02-02 11:23:33 +01:00
3 subproject defaults Can override project option default values in subproject(). 2016-12-29 20:34:13 +02:00
4 suite selection Use strict function prototypes 2019-11-18 22:21:36 +02:00
5 compiler detection tests: Fix typo in unit test code 2017-03-27 11:25:22 +05:30
6 std override Fix ICC on macOS 2018-09-16 18:27:19 +03:00
7 run installed Do not obliterate old rpath because it might be used due to read only data sharing. Closes #1619. 2017-04-17 12:48:54 +03:00
8 -L -l order Condense test dirs. 2018-07-31 19:22:24 +03:00
9 d dedup Condense test dirs. 2018-07-31 19:22:24 +03:00
10 build_rpath Condense test dirs. 2018-07-31 19:22:24 +03:00
11 cross prog Use python3 in some tests which were still using python 2020-01-21 04:26:50 +10:00
12 promote wrap: Add 'provide' section 2020-07-01 09:51:44 -04:00
13 reconfigure test_reconfigure switched to b_coverage from b_lto 2018-03-21 16:45:22 +03:00
14 testsetup selection Use strict function prototypes 2019-11-18 22:21:36 +02:00
15 prebuilt object Condense test dirs. 2018-07-31 19:22:24 +03:00
16 prebuilt static Condense test dirs. 2018-07-31 19:22:24 +03:00
17 prebuilt shared tests: Don't return an undefined value from main() 2019-01-17 20:52:06 +02:00
18 pkgconfig static Condense test dirs. 2018-07-31 19:22:24 +03:00
19 array option Condense test dirs. 2018-07-31 19:22:24 +03:00
20 subproj dep variables do_subproject: Improve log messages and formatting 2019-01-16 11:16:46 -05:00
21 exit status Add a test case for python exception exit status 2018-02-15 12:51:25 +00:00
22 warning location Condense test dirs. 2018-07-31 19:22:24 +03:00
23 unfound pkgconfig Condense test dirs. 2018-07-31 19:22:24 +03:00
24 compiler run_command Condense test dirs. 2018-07-31 19:22:24 +03:00
25 non-permitted kwargs Use strict function prototypes 2019-11-18 22:21:36 +02:00
26 install umask Condense test dirs. 2018-07-31 19:22:24 +03:00
27 pkgconfig usage Condense test dirs. 2018-07-31 19:22:24 +03:00
28 ndebug if-release Condense test dirs. 2018-07-31 19:22:24 +03:00
29 guessed linker dependencies Use strict function prototypes 2019-11-18 22:21:36 +02:00
30 shared_mod linking Condense test dirs. 2018-07-31 19:22:24 +03:00
31 forcefallback Condense test dirs. 2018-07-31 19:22:24 +03:00
32 pkgconfig use libraries Use strict function prototypes 2019-11-18 22:21:36 +02:00
33 cross file overrides always args Condense test dirs. 2018-07-31 19:22:24 +03:00
34 command line coredata: CmdLineFileParser no longer interpolates strings. 2019-11-13 22:04:15 +02:00
35 dist script allow postconf and dist scripts to use Files, ExternalPrograms, and 2020-04-30 10:01:14 -07:00
36 exe_wrapper behaviour interpreter: Rename has_exe_wrapper -> can_run_host_binaries 2020-05-14 11:04:51 -07:00
37 mixed command line args Condense test dirs. 2018-09-06 19:09:35 +03:00
38 pkgconfig format Condense test dirs. 2018-09-06 19:09:35 +03:00
39 python extmodule Tests: py.dependency() now has required:true by default 2020-10-07 19:08:17 +02:00
40 external, internal library rpath Let .pc files specify rpath. 2020-05-16 20:25:58 +00:00
41 featurenew subprojects Correct version_compare_condition_with_min() 2018-09-12 15:38:00 +01:00
42 rpath order Condense test dirs. 2018-09-06 19:09:35 +03:00
43 dep order Condense test dirs. 2018-09-06 19:09:35 +03:00
44 promote wrap Condense test dirs. 2018-09-06 19:09:35 +03:00
45 vscpp17 unit:cpp17: make C++17 test stricter check 2021-01-04 23:43:30 +00:00
46 native dep pkgconfig var Don't use host pkg-config for native dependencies 2018-11-06 21:12:10 +02:00
47 native file binary LLVM: Added CMake backend 2019-05-03 01:39:16 +02:00
48 reconfigure Condense directory numbering for release. 2019-03-10 18:39:03 +02:00
49 testsetup default Condense directory numbering for release. 2019-03-10 18:39:03 +02:00
50 pkgconfig csharp library Condense directory numbering for release. 2019-03-10 18:39:03 +02:00
51 noncross options Made build. options alias basic ones when native building. 2019-08-06 21:34:15 +03:00
52 ldflagdedup Condense test directory names. 2019-08-03 02:29:44 +03:00
53 pkgconfig static link order Condense test directory names. 2019-08-03 02:29:44 +03:00
54 clang-format Never run clang-format / clang-tidy against directories 2020-10-05 23:07:20 +03:00
55 introspect buildoptions/subprojects/projectBad Condense test directory names. 2019-08-03 02:29:44 +03:00
56 dedup compiler libs Condense test directory names. 2019-08-03 02:29:44 +03:00
57 introspection intro: Add extra_files key to intro output (fixes #7310) 2020-10-15 01:56:59 +03:00
58 pkg_config_path option Condense test directory names. 2019-08-03 02:29:44 +03:00
59 introspect buildoptions Use c99 instead of c11 for buildoptions test 2020-11-13 16:13:02 -08:00
60 native file override Condense test directory names. 2019-08-03 02:29:44 +03:00
61 identity cross unittests: Fix test_identity_cross on Solaris 2020-06-22 15:01:34 -07:00
62 pkgconfig relative paths/pkgconfig Condense test directory names. 2019-08-03 02:29:44 +03:00
63 test env does not stack Condense test directory names. 2019-08-03 02:29:44 +03:00
64 cmake_prefix_path Condense test directory names. 2019-08-03 02:29:44 +03:00
65 cmake parser Fix typos found by codespell 2019-11-06 09:55:30 -05:00
66 alias target Condense test directory names. 2019-08-03 02:29:44 +03:00
67 static archive stripping Rename test dirs to sequential order. 2020-01-08 13:21:00 +02:00
68 static link Rename test dirs to sequential order. 2020-01-08 13:21:00 +02:00
69 test env value environment: Support taking values from dict 2019-09-29 08:42:53 -04:00
70 clang-tidy Never run clang-format / clang-tidy against directories 2020-10-05 23:07:20 +03:00
71 cross Add test case to verify identity cross builds 2019-10-15 23:46:35 +03:00
72 cross test passed pass exe_wrapper to test scripts through the environment 2020-05-18 13:53:58 -07:00
73 summary Allow printing UserOptions in the summary 2021-02-26 10:28:00 -05:00
74 wrap file url backends: Consider arguments passed to a test when cross compiling 2020-05-18 13:53:58 -07:00
75 dep files backends: Consider arguments passed to a test when cross compiling 2020-05-18 13:53:58 -07:00
76 pkgconfig prefixes Condense test directory names again. 2020-11-03 21:05:20 +02:00
77 subdir libdir Condense test directory names again. 2020-11-03 21:05:20 +02:00
78 as link whole Condense test directory names again. 2020-11-03 21:05:20 +02:00
79 nostdlib Interpreter: Fix c_stdlib usage 2020-08-18 14:47:38 -04:00
80 user options for subproject Condense test directory names again. 2020-11-03 21:05:20 +02:00
81 global-rpath Condense test directory names again. 2020-11-03 21:05:20 +02:00
82 wrap-git Condense test directory names again. 2020-11-03 21:05:20 +02:00
83 meson version compare Condense test directory names again. 2020-11-03 21:05:20 +02:00
84 cross only introspect Condense test directory names again. 2020-11-03 21:05:20 +02:00
85 change option choices Condense test directory names again. 2020-11-03 21:05:20 +02:00
86 nested subproject regenerate depends Condense test directory names again. 2020-11-03 21:05:20 +02:00
87 cpp modules Create unit test for C++ modules and accept ixx as C++ source extension. 2020-12-11 19:21:02 +00:00
88 prelinking Condense test directory names in preparation for rc1. 2021-02-09 00:30:20 +02:00
89 run native test Condense test directory names in preparation for rc1. 2021-02-09 00:30:20 +02:00
90 multiple envvars Environment: Fix passing envrionment variables CPPFLAGS and CFLAGS 2021-02-17 14:46:15 +02:00
90 pkgconfig build rpath order Condense test directory names in preparation for rc1. 2021-02-09 00:30:20 +02:00
91 install skip subprojects minstall: Add --skip-subprojects option 2021-02-22 23:03:55 +02:00
92 new subproject in configured project interpreter: correctly track whether a subproject is initialized 2021-02-26 09:05:30 -08:00