aboutsummaryrefslogtreecommitdiffstats
path: root/libfonts_encode_font_description.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-01-08 11:11:55 +0100
committerMattias Andrée <maandree@kth.se>2023-01-08 11:11:55 +0100
commitaaf631e76df1e1a730b6a0ffb0d62b3ba661643e (patch)
tree1a737835a07eaebd3436a1fee19bf691f63d918b /libfonts_encode_font_description.c
parentFix and test libfonts_get_default_font_name (diff)
downloadlibfonts-aaf631e76df1e1a730b6a0ffb0d62b3ba661643e.tar.gz
libfonts-aaf631e76df1e1a730b6a0ffb0d62b3ba661643e.tar.bz2
libfonts-aaf631e76df1e1a730b6a0ffb0d62b3ba661643e.tar.xz
Move test-todos into .c-files and add empty test functions
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libfonts_encode_font_description.c')
-rw-r--r--libfonts_encode_font_description.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libfonts_encode_font_description.c b/libfonts_encode_font_description.c
index 5bbac5f..5cc26bb 100644
--- a/libfonts_encode_font_description.c
+++ b/libfonts_encode_font_description.c
@@ -1,5 +1,7 @@
/* See LICENSE file for copyright and license details. */
#include "common.h"
+#ifndef TEST
+
#define LIST_FIELDS(X)\
X(foundry)\
@@ -102,3 +104,16 @@ einval:
errno = EINVAL;
return -1;
}
+
+
+#else
+
+
+int
+main(void) /* TODO add test */
+{
+ return 0;
+}
+
+
+#endif