aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-09-21 12:45:46 -0400
committerDavid Robillard <d@drobilla.net>2024-09-21 13:45:56 -0400
commitaec19c24a90373906a456ed09aaf23a18b7229ba (patch)
tree03dcf3ceb937d284c6ec77e77f513b8a0d88df02 /test
parentae803df657df1f9e07a90b71f26736183f98b35d (diff)
downloadserd-aec19c24a90373906a456ed09aaf23a18b7229ba.tar.gz
serd-aec19c24a90373906a456ed09aaf23a18b7229ba.tar.bz2
serd-aec19c24a90373906a456ed09aaf23a18b7229ba.zip
Remove pointless and inconsistent printing from unit tests
Diffstat (limited to 'test')
-rw-r--r--test/test_node.c2
-rw-r--r--test/test_reader_writer.c1
-rw-r--r--test/test_string.c3
-rw-r--r--test/test_uri.c3
-rw-r--r--test/test_writer.c1
5 files changed, 0 insertions, 10 deletions
diff --git a/test/test_node.c b/test/test_node.c
index 09e9dfff..574c10d3 100644
--- a/test/test_node.c
+++ b/test/test_node.c
@@ -285,7 +285,5 @@ main(void)
test_node_from_string();
test_node_from_substring();
test_uri_node_from_node();
-
- printf("Success\n");
return 0;
}
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c
index c229d1c5..0ed26794 100644
--- a/test/test_reader_writer.c
+++ b/test/test_reader_writer.c
@@ -332,6 +332,5 @@ main(void)
assert(!remove(path));
free(path);
- printf("Success\n");
return 0;
}
diff --git a/test/test_string.c b/test/test_string.c
index 23835ca9..1af3f45a 100644
--- a/test/test_string.c
+++ b/test/test_string.c
@@ -7,7 +7,6 @@
#include <assert.h>
#include <stdint.h>
-#include <stdio.h>
#include <string.h>
static void
@@ -57,7 +56,5 @@ main(void)
{
test_strlen();
test_strerror();
-
- printf("Success\n");
return 0;
}
diff --git a/test/test_uri.c b/test/test_uri.c
index 94669ad5..1c440a30 100644
--- a/test/test_uri.c
+++ b/test/test_uri.c
@@ -8,7 +8,6 @@
#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
-#include <stdio.h>
#include <string.h>
#define USTR(s) ((const uint8_t*)(s))
@@ -382,7 +381,5 @@ main(void)
test_uri_parsing();
test_uri_from_string();
test_relative_uri();
-
- printf("Success\n");
return 0;
}
diff --git a/test/test_writer.c b/test/test_writer.c
index 6c765148..9e94e139 100644
--- a/test/test_writer.c
+++ b/test/test_writer.c
@@ -112,7 +112,6 @@ test_write_nested_anon(void)
"\t\t<http://example.org/p4> <http://example.org/o4>\n"
"\t] .\n";
- fprintf(stderr, "%s\n", out);
assert(!strcmp((char*)out, expected));
serd_free(out);
}