From b1d4027b58465d9cc31d6cb1be05a7ff4f202711 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 22 May 2012 03:30:42 +0000 Subject: More work on test suite. Clean up, simplify, and shrink event code. Support disconnect_all via Atom protocol. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4432 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 0229608c..3e13bb5e 100644 --- a/wscript +++ b/wscript @@ -172,7 +172,7 @@ def build(bld): install_path = '', lib = bld.env['INGEN_TEST_LIBS'], cxxflags = bld.env['INGEN_TEST_CXXFLAGS']) - autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM SORD RAUL LILV INGEN LV2') + autowaf.use_lib(bld, obj, 'GTHREAD GLIBMM SORD RAUL LILV INGEN LV2 SRATOM') bld.install_files('${DATADIR}/applications', 'src/ingen/ingen.desktop') bld.install_files('${BINDIR}', 'scripts/ingenish', chmod=Utils.O755) @@ -209,5 +209,9 @@ def test(ctx): os.path.join('src', 'serialisation')]) autowaf.pre_test(ctx, APPNAME, dirs=['.', 'src', 'tests']) - autowaf.run_tests(ctx, APPNAME, ['ingen_test ../tests/empty.ingen'], dirs=['.', 'src', 'tests']) - autowaf.post_test(ctx, APPNAME, dirs=['.', 'src', 'tests']) + for i in ctx.path.ant_glob('tests/*.ttl'): + autowaf.run_tests(ctx, APPNAME, + ['ingen_test ../tests/empty.ingen %s' % i.abspath()], + dirs=['.', 'src', 'tests']) + autowaf.post_test(ctx, APPNAME, dirs=['.', 'src', 'tests'], + remove=['/usr*']) -- cgit v1.2.1