From 936348fd730f2d3ebc5376b555f0cfc1e633c019 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 7 Jan 2010 21:27:39 +0000 Subject: Move unit testing and coverage framework into autowaf. Make raul tests return 0 on success, 1 on failure. Test coverage for Raul. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2368 a436a847-0d15-0410-975c-d299462d15a1 --- test/wscript | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 test/wscript (limited to 'test/wscript') diff --git a/test/wscript b/test/wscript deleted file mode 100644 index 11f5b33..0000000 --- a/test/wscript +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env python - -def build(bld): - tests = ''' - slv2_test - ''' - if bld.env['BUILD_TESTS']: - for i in tests.split(): - obj = bld.new_task_gen('cc', 'program') - obj.source = i + '.c' - obj.includes = '..' - obj.uselib_local = 'libslv2_static' - obj.uselib = 'REDLAND LV2CORE' - obj.libs = 'gcov' - obj.target = i - obj.install_path = '' - obj.ccflags = [ '-fprofile-arcs', '-ftest-coverage' ] - -- cgit v1.2.1