diff options
author | David Robillard <d@drobilla.net> | 2019-04-14 09:51:55 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-14 10:04:39 +0200 |
commit | b788af9d049c43b274befc8424a487515d122b0b (patch) | |
tree | 5b8a2d4f26ab704118d2b7a31e5b04d36a20bfe8 | |
parent | a83e4280ba036fa1ebe5faf58bc789d6bdaa20d0 (diff) | |
download | lilv-b788af9d049c43b274befc8424a487515d122b0b.tar.gz lilv-b788af9d049c43b274befc8424a487515d122b0b.tar.bz2 lilv-b788af9d049c43b274befc8424a487515d122b0b.zip |
Add skeleton core.lv2 bundle for tests
-rw-r--r-- | test/core.lv2/lv2core.ttl | 30 | ||||
-rw-r--r-- | test/core.lv2/manifest.ttl | 9 | ||||
-rw-r--r-- | wscript | 8 |
3 files changed, 47 insertions, 0 deletions
diff --git a/test/core.lv2/lv2core.ttl b/test/core.lv2/lv2core.ttl new file mode 100644 index 0000000..5659487 --- /dev/null +++ b/test/core.lv2/lv2core.ttl @@ -0,0 +1,30 @@ +@prefix lv2: <http://lv2plug.in/ns/lv2core#> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +<http://lv2plug.in/ns/lv2core> + a owl:Ontology . + +lv2:PluginBase + a rdfs:Class , + owl:Class ; + rdfs:label "Plugin Base" . + +lv2:Plugin + a rdfs:Class , + owl:Class ; + rdfs:subClassOf lv2:PluginBase ; + rdfs:label "Plugin" . + +lv2:DynamicsPlugin + a rdfs:Class , + owl:Class ; + rdfs:subClassOf lv2:Plugin ; + rdfs:label "Dynamics" . + +lv2:CompressorPlugin + a rdfs:Class , + owl:Class ; + rdfs:subClassOf lv2:DynamicsPlugin ; + rdfs:label "Compressor" . + diff --git a/test/core.lv2/manifest.ttl b/test/core.lv2/manifest.ttl new file mode 100644 index 0000000..a77ad71 --- /dev/null +++ b/test/core.lv2/manifest.ttl @@ -0,0 +1,9 @@ +@prefix doap: <http://usefulinc.com/ns/doap#> . +@prefix lv2: <http://lv2plug.in/ns/lv2core#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . + +<http://lv2plug.in/ns/lv2core> + a lv2:Specification ; + lv2:minorVersion 16 ; + lv2:microVersion 0 ; + rdfs:seeAlso <lv2core.ttl> . @@ -282,6 +282,14 @@ def build(bld): test_cflags += ['--coverage'] test_linkflags += ['--coverage'] + # Copy skeleton LV2 bundle for tests + for name in ('manifest.ttl', 'lv2core.ttl'): + bld(features = 'subst', + is_copy = True, + source = 'test/core.lv2/' + name, + target = 'test_lv2_path/core.lv2/' + name, + install_path = None) + # Make a pattern for shared objects without the 'lib' prefix module_pattern = re.sub('^lib', '', bld.env.cshlib_PATTERN) shlib_ext = module_pattern[module_pattern.rfind('.'):] |