diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/multifile/output.nq | 4 | ||||
-rwxr-xr-x | test/run_test_suite.py | 4 | ||||
-rw-r--r-- | test/test_overflow.c | 2 | ||||
-rw-r--r-- | test/test_reader_writer.c | 14 |
4 files changed, 3 insertions, 21 deletions
diff --git a/test/multifile/output.nq b/test/multifile/output.nq index dd35dc4d..cf3ea93e 100644 --- a/test/multifile/output.nq +++ b/test/multifile/output.nq @@ -1,3 +1,3 @@ -_:f0b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Type> . _:f1b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Type> . -_:f1b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/OtherType> <http://example.org/graph> . +_:f2b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Type> . +_:f2b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/OtherType> <http://example.org/graph> . diff --git a/test/run_test_suite.py b/test/run_test_suite.py index 13bb3c7d..457e7f81 100755 --- a/test/run_test_suite.py +++ b/test/run_test_suite.py @@ -58,8 +58,6 @@ def test_thru( isyntax, "-o", isyntax, - "-p", - "foo", "-w", out_path, "-I", @@ -76,8 +74,6 @@ def test_thru( isyntax, "-o", osyntax, - "-c", - "foo", "-w", thru_path, "-o", diff --git a/test/test_overflow.c b/test/test_overflow.c index 2a77135c..bb2513d5 100644 --- a/test/test_overflow.c +++ b/test/test_overflow.c @@ -22,7 +22,7 @@ #include <stdio.h> static const size_t min_stack_size = 4 * sizeof(size_t) + 230u; -static const size_t max_stack_size = 1024u; +static const size_t max_stack_size = 2048u; static SerdStatus test_size(SerdWorld* const world, diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c index c0af313a..1bad22cd 100644 --- a/test/test_reader_writer.c +++ b/test/test_reader_writer.c @@ -51,9 +51,6 @@ test_writer(const char* const path) assert(writer); - serd_writer_chop_blank_prefix(writer, "tmp"); - serd_writer_chop_blank_prefix(writer, NULL); - const SerdNode* lit = serd_nodes_string(nodes, SERD_STRING("hello")); const SerdSink* const iface = serd_writer_sink(writer); @@ -152,17 +149,6 @@ test_reader(const char* path) assert(serd_reader_read_document(reader) == SERD_ERR_BAD_CALL); assert(serd_reader_read_chunk(reader) == SERD_ERR_BAD_CALL); - serd_reader_add_blank_prefix(reader, "tmp"); - -#if defined(__GNUC__) -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wnonnull" -#endif - serd_reader_add_blank_prefix(reader, NULL); -#if defined(__GNUC__) -# pragma GCC diagnostic pop -#endif - SerdByteSource* byte_source = serd_byte_source_new_filename(path, 4096); assert(!serd_reader_start(reader, byte_source)); assert(!serd_reader_read_document(reader)); |