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_decode_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_decode_font_description.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libfonts_decode_font_description.c b/libfonts_decode_font_description.c index 46031de..2348d97 100644 --- a/libfonts_decode_font_description.c +++ b/libfonts_decode_font_description.c @@ -1,5 +1,7 @@ /* See LICENSE file for copyright and license details. */ #include "common.h" +#ifndef TEST + #define LIST_FIELDS_EXCEPT_FINAL(X)\ X(foundry)\ @@ -215,3 +217,16 @@ private: desc->private_font_name = desc->_buf; return 0; } + + +#else + + +int +main(void) /* TODO add test */ +{ + return 0; +} + + +#endif |