diff options
| author | Jon Turney <jon.turney@dronecode.org.uk> | 2020-04-11 13:12:09 +0100 |
|---|---|---|
| committer | Jon Turney <jon.turney@dronecode.org.uk> | 2020-04-11 19:55:43 +0100 |
| commit | 40256fb7e6d6eeb85295534177bb4aa249670e3f (patch) | |
| tree | 0c29e5acf7f16ed0c8a875bdc6e85d531e39cc62 | |
| parent | 97bb54bdfa2ffef8618ad5211da7c28fcf68f74a (diff) | |
| download | meson-40256fb7e6d6eeb85295534177bb4aa249670e3f.tar.gz | |
Extend test to cover using library(name_prefix: []) for default
Also test library(name_suffix: [])
| -rw-r--r-- | test cases/common/206 install name_prefix name_suffix/meson.build | 3 | ||||
| -rw-r--r-- | test cases/common/206 install name_prefix name_suffix/test.json | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/test cases/common/206 install name_prefix name_suffix/meson.build b/test cases/common/206 install name_prefix name_suffix/meson.build index 4539999d9..044f915c0 100644 --- a/test cases/common/206 install name_prefix name_suffix/meson.build +++ b/test cases/common/206 install name_prefix name_suffix/meson.build @@ -8,3 +8,6 @@ static_library('qux', 'libfile.c', name_suffix: 'cheese', install : true) shared_library('corge', 'libfile.c', name_prefix: 'bow', name_suffix: 'stern', install : true) static_library('grault', 'libfile.c', name_prefix: 'bow', name_suffix: 'stern', install : true) + +# exercise default name_prefix and name_suffix +shared_library('garply', 'libfile.c', name_prefix: [], name_suffix: [], install : true) diff --git a/test cases/common/206 install name_prefix name_suffix/test.json b/test cases/common/206 install name_prefix name_suffix/test.json index 63032bc15..b92a98538 100644 --- a/test cases/common/206 install name_prefix name_suffix/test.json +++ b/test cases/common/206 install name_prefix name_suffix/test.json @@ -11,6 +11,9 @@ {"type": "implib", "file": "usr/lib/foo"}, {"type": "expr", "file": "usr/lib/foo?so"}, {"type": "implib", "file": "usr/lib/libbaz"}, - {"type": "file", "file": "usr/lib/libqux.cheese"} + {"type": "file", "file": "usr/lib/libqux.cheese"}, + {"type": "expr", "file": "usr/?lib/libgarply?so"}, + {"type": "implib", "file": "usr/lib/libgarply"}, + {"type": "pdb", "file": "usr/bin/garply"} ] } |
