summaryrefslogtreecommitdiffstats
path: root/test/lilv_test_utils.h
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/lilv_test_utils.h
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/lilv_test_utils.h')
-rw-r--r--test/lilv_test_utils.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/test/lilv_test_utils.h b/test/lilv_test_utils.h
index b5cddb1..76d9bc1 100644
--- a/test/lilv_test_utils.h
+++ b/test/lilv_test_utils.h
@@ -55,7 +55,7 @@ typedef struct {
LilvNode* plugin1_uri;
LilvNode* plugin2_uri;
char* test_bundle_path;
- char* test_bundle_uri;
+ LilvNode* test_bundle_uri;
char* test_manifest_path;
char* test_content_path;
int test_count;
@@ -72,11 +72,17 @@ lilv_test_env_free(LilvTestEnv* env);
// Create a bundle with a manifest and plugin files, without loading anything
int
-create_bundle(LilvTestEnv* env, const char* manifest, const char* plugin);
+create_bundle(LilvTestEnv* env,
+ const char* name,
+ const char* manifest,
+ const char* plugin);
// Create a bundle with a manifest and plugin files, then load everything
int
-start_bundle(LilvTestEnv* env, const char* manifest, const char* plugin);
+start_bundle(LilvTestEnv* env,
+ const char* name,
+ const char* manifest,
+ const char* plugin);
// Remove the created bundle from the file system and free its paths in `env`
void