diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-14 18:19:15 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2021-12-06 13:27:12 -0800 |
| commit | 18408f82d1ed2f04ef069e8e5836449a9cc5c355 (patch) | |
| tree | c2a1e3db41d0aa4a1645fa49ac44409bca1b6120 /test cases | |
| parent | 2ef06618e2252fc5fb9262792a3bd544ec182ec5 (diff) | |
| download | meson-18408f82d1ed2f04ef069e8e5836449a9cc5c355.tar.gz | |
allow passing a CustomTargetIndex as argument to a test
Fixes: #7585
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'test cases')
| -rw-r--r-- | test cases/common/245 custom target index source/meson.build | 2 | ||||
| -rw-r--r-- | test cases/failing/116 run_target in test/test.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test cases/common/245 custom target index source/meson.build b/test cases/common/245 custom target index source/meson.build index c7efbd81b..c8087dd22 100644 --- a/test cases/common/245 custom target index source/meson.build +++ b/test cases/common/245 custom target index source/meson.build @@ -47,5 +47,5 @@ exe_together = executable('exe_together', ) # also cover passing custom target to tests as arguments -test('exe_separate', exe_separate, args: ['unused1', 'unused2']) +test('exe_separate', exe_separate, args: [gen_c, gen_h]) test('exe_together', exe_together, args: gen) diff --git a/test cases/failing/116 run_target in test/test.json b/test cases/failing/116 run_target in test/test.json index e08aa03b2..961c1e4cb 100644 --- a/test cases/failing/116 run_target in test/test.json +++ b/test cases/failing/116 run_target in test/test.json @@ -1,7 +1,7 @@ { "stdout": [ { - "line": "test cases/failing/116 run_target in test/meson.build:4:0: ERROR: test keyword argument 'args' was of type array[RunTarget] but should have been array[str | File | BuildTarget | CustomTarget]" + "line": "test cases/failing/116 run_target in test/meson.build:4:0: ERROR: test keyword argument 'args' was of type array[RunTarget] but should have been array[str | File | BuildTarget | CustomTarget | CustomTargetIndex]" } ] } |
