summaryrefslogtreecommitdiffstats
path: root/test/test_bad_port_index.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-11 12:07:16 +0100
committerDavid Robillard <d@drobilla.net>2021-01-11 12:25:48 +0100
commit830c41e97938bd4bbf7422718bbc90df750b9d78 (patch)
tree3c6980115745347521fd7505183b346353adcca4 /test/test_bad_port_index.c
parent1d0547504963fcbe28dba9d3913a2398df65a938 (diff)
downloadlilv-830c41e97938bd4bbf7422718bbc90df750b9d78.tar.gz
lilv-830c41e97938bd4bbf7422718bbc90df750b9d78.tar.bz2
lilv-830c41e97938bd4bbf7422718bbc90df750b9d78.zip
Use unique test bundle names so tests can run in parallel
Diffstat (limited to 'test/test_bad_port_index.c')
-rw-r--r--test/test_bad_port_index.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test_bad_port_index.c b/test/test_bad_port_index.c
index b5d6547..985d74e 100644
--- a/test/test_bad_port_index.c
+++ b/test/test_bad_port_index.c
@@ -41,10 +41,14 @@ main(void)
LilvTestEnv* const env = lilv_test_env_new();
LilvWorld* const world = env->world;
- if (start_bundle(env, SIMPLE_MANIFEST_TTL, plugin_ttl)) {
+ if (create_bundle(
+ env, "bad_port_index.lv2", SIMPLE_MANIFEST_TTL, plugin_ttl)) {
return 1;
}
+ lilv_world_load_specifications(env->world);
+ lilv_world_load_bundle(env->world, env->test_bundle_uri);
+
const LilvPlugins* plugins = lilv_world_get_all_plugins(world);
const LilvPlugin* plug = lilv_plugins_get_by_uri(plugins, env->plugin1_uri);