aboutsummaryrefslogtreecommitdiff
path: root/tests/meson.build
blob: dee9a47b76263b340d99d40add24583cbce2bc3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
basic_rendering = ['../src/render.c', '../src/frame.c',
                   '../src/sc_parse.c', '../src/imagestore.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, jsondep])
test('Simple rendering', e)

e = executable('render_test_sc1', 'render_test_sc1.c', basic_rendering,
               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)