diff options
author | Mattias Andrée <maandree@kth.se> | 2023-01-08 11:11:55 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2023-01-08 11:11:55 +0100 |
commit | aaf631e76df1e1a730b6a0ffb0d62b3ba661643e (patch) | |
tree | 1a737835a07eaebd3436a1fee19bf691f63d918b /libfonts_encode_font_description.c | |
parent | Fix and test libfonts_get_default_font_name (diff) | |
download | libfonts-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 '')
-rw-r--r-- | libfonts_encode_font_description.c | 15 |
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 |