aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-03 09:00:16 -0400
committerDavid Robillard <d@drobilla.net>2023-04-05 09:45:15 -0400
commitb135f1d556f3f03c0369efd710b06c5ded728ef9 (patch)
tree54f7a66680f187fa23ba9808d880fab8a01c439a /test
parent1ef9b34389da01bc9ea3a4edaef0cf8dde63eaea (diff)
downloadserd-b135f1d556f3f03c0369efd710b06c5ded728ef9.tar.gz
serd-b135f1d556f3f03c0369efd710b06c5ded728ef9.tar.bz2
serd-b135f1d556f3f03c0369efd710b06c5ded728ef9.zip
Move big test cases to a separate suite
Diffstat (limited to 'test')
-rw-r--r--test/extra/big/README.md5
-rw-r--r--test/extra/big/manifest.ttl30
-rw-r--r--test/extra/big/test-10000-objects.nt (renamed from test/extra/perfect/test-10000-objects.nt)0
-rw-r--r--test/extra/big/test-10000-objects.ttl (renamed from test/extra/perfect/test-10000-objects.ttl)0
-rw-r--r--test/extra/big/test-10000-predicates.nt (renamed from test/extra/perfect/test-10000-predicates.nt)0
-rw-r--r--test/extra/big/test-10000-predicates.ttl (renamed from test/extra/perfect/test-10000-predicates.ttl)0
-rw-r--r--test/extra/big/test-10000-subjects.nt (renamed from test/extra/perfect/test-10000-subjects.nt)0
-rw-r--r--test/extra/big/test-10000-subjects.ttl (renamed from test/extra/perfect/test-10000-subjects.ttl)0
-rw-r--r--test/extra/perfect/manifest.ttl21
-rw-r--r--test/meson.build3
10 files changed, 38 insertions, 21 deletions
diff --git a/test/extra/big/README.md b/test/extra/big/README.md
new file mode 100644
index 00000000..8ed4af5d
--- /dev/null
+++ b/test/extra/big/README.md
@@ -0,0 +1,5 @@
+Big Test Suite
+==============
+
+This suite contains tests that have many triples arranged in ways that could
+trigger overflows in some implementations.
diff --git a/test/extra/big/manifest.ttl b/test/extra/big/manifest.ttl
new file mode 100644
index 00000000..94f51670
--- /dev/null
+++ b/test/extra/big/manifest.ttl
@@ -0,0 +1,30 @@
+@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix rdft: <http://www.w3.org/ns/rdftest#> .
+
+<>
+ a mf:Manifest ;
+ rdfs:comment "Serd big test suite" ;
+ mf:entries (
+ <#test-10000-objects>
+ <#test-10000-predicates>
+ <#test-10000-subjects>
+ ) .
+
+<#test-10000-objects>
+ a rdft:TestTurtleEval ;
+ mf:action <test-10000-objects.ttl> ;
+ mf:name "test-10000-objects" ;
+ mf:result <test-10000-objects.nt> .
+
+<#test-10000-predicates>
+ a rdft:TestTurtleEval ;
+ mf:action <test-10000-predicates.ttl> ;
+ mf:name "test-10000-predicates" ;
+ mf:result <test-10000-predicates.nt> .
+
+<#test-10000-subjects>
+ a rdft:TestTurtleEval ;
+ mf:action <test-10000-subjects.ttl> ;
+ mf:name "test-10000-subjects" ;
+ mf:result <test-10000-subjects.nt> .
diff --git a/test/extra/perfect/test-10000-objects.nt b/test/extra/big/test-10000-objects.nt
index e5797f7e..e5797f7e 100644
--- a/test/extra/perfect/test-10000-objects.nt
+++ b/test/extra/big/test-10000-objects.nt
diff --git a/test/extra/perfect/test-10000-objects.ttl b/test/extra/big/test-10000-objects.ttl
index fa2af22b..fa2af22b 100644
--- a/test/extra/perfect/test-10000-objects.ttl
+++ b/test/extra/big/test-10000-objects.ttl
diff --git a/test/extra/perfect/test-10000-predicates.nt b/test/extra/big/test-10000-predicates.nt
index 6c0f55ae..6c0f55ae 100644
--- a/test/extra/perfect/test-10000-predicates.nt
+++ b/test/extra/big/test-10000-predicates.nt
diff --git a/test/extra/perfect/test-10000-predicates.ttl b/test/extra/big/test-10000-predicates.ttl
index 50f39b94..50f39b94 100644
--- a/test/extra/perfect/test-10000-predicates.ttl
+++ b/test/extra/big/test-10000-predicates.ttl
diff --git a/test/extra/perfect/test-10000-subjects.nt b/test/extra/big/test-10000-subjects.nt
index 47ebc469..47ebc469 100644
--- a/test/extra/perfect/test-10000-subjects.nt
+++ b/test/extra/big/test-10000-subjects.nt
diff --git a/test/extra/perfect/test-10000-subjects.ttl b/test/extra/big/test-10000-subjects.ttl
index cdc3c544..cdc3c544 100644
--- a/test/extra/perfect/test-10000-subjects.ttl
+++ b/test/extra/big/test-10000-subjects.ttl
diff --git a/test/extra/perfect/manifest.ttl b/test/extra/perfect/manifest.ttl
index f0829847..572f55f2 100644
--- a/test/extra/perfect/manifest.ttl
+++ b/test/extra/perfect/manifest.ttl
@@ -6,9 +6,6 @@
a mf:Manifest ;
rdfs:comment "Serd perfect (reversible) test suite" ;
mf:entries (
- <#test-10000-objects>
- <#test-10000-predicates>
- <#test-10000-subjects>
<#test-backspace-escape>
<#test-decimal>
<#test-delete-escape>
@@ -27,24 +24,6 @@
<#test-utf8-uri>
) .
-<#test-10000-objects>
- a rdft:TestTurtleEval ;
- mf:action <test-10000-objects.ttl> ;
- mf:name "test-10000-objects" ;
- mf:result <test-10000-objects.nt> .
-
-<#test-10000-predicates>
- a rdft:TestTurtleEval ;
- mf:action <test-10000-predicates.ttl> ;
- mf:name "test-10000-predicates" ;
- mf:result <test-10000-predicates.nt> .
-
-<#test-10000-subjects>
- a rdft:TestTurtleEval ;
- mf:action <test-10000-subjects.ttl> ;
- mf:name "test-10000-subjects" ;
- mf:result <test-10000-subjects.nt> .
-
<#test-backspace-escape>
a rdft:TestTurtleEval ;
mf:action <test-backspace-escape.ttl> ;
diff --git a/test/meson.build b/test/meson.build
index f8c60ba5..2d21456b 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -214,6 +214,9 @@ test_suites = {
'bad': [
files('extra/bad/manifest.ttl'), ns_serdtest + 'bad/',
],
+ 'big': [
+ files('extra/big/manifest.ttl'), ns_serdtest + 'big/',
+ ],
'bulk': [
files('extra/good/manifest.ttl'), ns_serdtest + 'good/',
'--', '-b',