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

e = executable('render_test_sc1', 'render_test_sc1.c', basic_rendering,
               dependencies : [gtkdep, mdep])
test('Simple StoryCode rendering', e)

e = executable('json_test', 'json_test.c', '../src/sc_parse.c',
               dependencies : [mdep, jsondep])
test('JSON parsing', e)