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-11-25 22:12:48 +0100
commit06f860fd95ba9f97e36416ad8fa3cdadba4f6259 (patch)
treeba2697d8a4a968dbdb19942b1f61311bbbac652d /wscript
parent92c3a138fe508bde6157a3efcf7940d8c2bb4099 (diff)
downloadserd-06f860fd95ba9f97e36416ad8fa3cdadba4f6259.tar.gz
serd-06f860fd95ba9f97e36416ad8fa3cdadba4f6259.tar.bz2
serd-06f860fd95ba9f97e36416ad8fa3cdadba4f6259.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 1fcee676..1ed4ad26 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',
@@ -485,7 +486,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):