diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2020-08-12 17:51:13 +0200 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2020-08-13 17:48:09 +0000 |
commit | de3eb99396735636f93538b6108a6be532817dd4 (patch) | |
tree | fcc3e1924e503f8f9d3a69f5be29307f944fff3c /test cases/common | |
parent | 435db359622ca6507a087b6bdcb2a977b3d3b8a4 (diff) | |
download | meson-de3eb99396735636f93538b6108a6be532817dd4.zip meson-de3eb99396735636f93538b6108a6be532817dd4.tar.gz meson-de3eb99396735636f93538b6108a6be532817dd4.tar.bz2 |
add testcase for issue #5182
Issue #5182 (" extract_objects returns duplicate objects") has been fixed.
Add a testcase to ensure it does not regress.
Diffstat (limited to 'test cases/common')
-rw-r--r-- | test cases/common/23 object extraction/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test cases/common/23 object extraction/meson.build b/test cases/common/23 object extraction/meson.build index 6776b14..18be1db 100644 --- a/test cases/common/23 object extraction/meson.build +++ b/test cases/common/23 object extraction/meson.build @@ -9,12 +9,15 @@ else obj1 = lib1.extract_objects('src/lib.c') obj2 = lib2.extract_objects(['lib.c']) obj3 = lib2.extract_objects(files('lib.c')) + obj4 = lib2.extract_objects(['lib.c', 'lib.c']) e1 = executable('main1', 'main.c', objects : obj1) e2 = executable('main2', 'main.c', objects : obj2) e3 = executable('main3', 'main.c', objects : obj3) + e4 = executable('main4', 'main.c', objects : obj4) test('extraction test 1', e1) test('extraction test 2', e2) test('extraction test 3', e3) + test('extraction test 4', e4) endif |