aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-11-17 21:01:59 +0100
committerDavid Robillard <d@drobilla.net>2018-12-31 11:37:49 -0500
commit086c16d97a70baa782aed938e16c500d1cda53be (patch)
tree27ec6c75ca70b481ff732fb588f54ac6d9a5f7e3 /wscript
parentf910557310a42685022ee413af5501f71fad92a0 (diff)
downloadserd-086c16d97a70baa782aed938e16c500d1cda53be.tar.gz
serd-086c16d97a70baa782aed938e16c500d1cda53be.tar.bz2
serd-086c16d97a70baa782aed938e16c500d1cda53be.zip
Add stack overflow tests
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 6 insertions, 2 deletions
diff --git a/wscript b/wscript
index 1f66627b..e996dde2 100644
--- a/wscript
+++ b/wscript
@@ -152,7 +152,8 @@ def build(bld):
for prog in [('serdi_static', 'src/serdi.c'),
('serd_test', 'tests/serd_test.c'),
('read_chunk_test', 'tests/read_chunk_test.c'),
- ('nodes_test', 'tests/nodes_test.c')]:
+ ('nodes_test', 'tests/nodes_test.c'),
+ ('overflow_test', 'tests/overflow_test.c')]:
bld(features = 'c cprogram',
source = prog[1],
use = 'libserd_profiled',
@@ -487,7 +488,10 @@ def test(ctx):
autowaf.pre_test(ctx, APPNAME)
autowaf.run_tests(ctx, APPNAME,
- ['serd_test', 'read_chunk_test', 'nodes_test'],
+ ['serd_test',
+ 'read_chunk_test',
+ 'nodes_test',
+ 'overflow_test'],
name='Unit')
def test_syntax_io(in_name, expected_name, lang):