aboutsummaryrefslogtreecommitdiff
path: root/tests/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'tests/meson.build')
-rw-r--r--tests/meson.build11
1 files changed, 8 insertions, 3 deletions
diff --git a/tests/meson.build b/tests/meson.build
index 427faae..dee9a47 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,15 +1,20 @@
basic_rendering = ['../src/render.c', '../src/frame.c',
'../src/sc_parse.c', '../src/imagestore.c',
- '../src/sc_interp.c', '../src/utils.c']
+ '../src/sc_interp.c', '../src/utils.c',
+ '../src/stylesheet.c']
e = executable('storycode_test', 'storycode_test.c', '../src/sc_parse.c',
dependencies : [gtkdep])
test('Simple StoryCode parsing', e)
e = executable('render_test', 'render_test.c', basic_rendering,
- dependencies : [gtkdep, mdep])
+ dependencies : [gtkdep, mdep, jsondep])
test('Simple rendering', e)
e = executable('render_test_sc1', 'render_test_sc1.c', basic_rendering,
- dependencies : [gtkdep, mdep])
+ dependencies : [gtkdep, mdep, jsondep])
test('Simple StoryCode rendering', e)
+
+e = executable('json_test', 'json_test.c', '../src/sc_parse.c',
+ dependencies : [mdep, jsondep])
+test('JSON parsing', e)